Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vault auth help approle generates INTERNAL ERROR message #4075

Closed
DaleBingham opened this issue Mar 5, 2018 · 2 comments
Closed

vault auth help approle generates INTERNAL ERROR message #4075

DaleBingham opened this issue Mar 5, 2018 · 2 comments

Comments

@DaleBingham
Copy link

Environment:

  • Vault Version: 0.9.5
  • Operating System/Architecture: Docker latest pull from DockerHub running on Mac OSX latest

Vault Config File:
{
"listener": [{
"tcp": {
"address": "0.0.0.0:8200",
"tls_disable" : 1
}
}],
"storage" :{
"file" : {
"path" : "/vault/data"
}
}
"max_lease_ttl": "10h",
"default_lease_ttl": "10h",
}

Startup Log Output:
none

Expected Behavior:
a printout of help for the approle authentication similar to 'vault auth help aws' and 'vault auth help github'

Actual Behavior:
INTERNAL ERROR! Found an auth method enabled at approle/, but its type "approle" is not registered in Vault. This is a bug and should be reported. Please open an issue at github.com/hashicorp/vault.

Steps to Reproduce:
Initialize Vault w/in docker w/ the config above. Setup the VAULT_ADDR appropriately. Initialize. Enable the approle auth. Then type the command above to get the error.

Important Factoids:
I am opening port 8200 with -p 8200:8200 w/in my Docker run command

References:
none

@DaleBingham
Copy link
Author

what I ran:
docker run -d -v /Users/dalebingham/Projects/vault:/vault --cap-add=IPC_LOCK -p 8200:8200 --rm --name vault --privileged --hostname vault vault server

and then to get a shell into the container:
docker exec -it vault /bin/sh

@jefferai
Copy link
Member

jefferai commented Mar 7, 2018

Duplicate of #4056

@jefferai jefferai marked this as a duplicate of #4056 Mar 7, 2018
@jefferai jefferai closed this as completed Mar 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants