hashicorp / vault

A tool for secrets management, encryption as a service, and privileged access management
https://www.vaultproject.io/
Other
31.18k stars 4.21k forks source link

Listing consul roles doesn't work #2139

Closed holtwilkins closed 7 years ago

holtwilkins commented 7 years ago

Running vault list ssh/roles/ and vault list aws/roles/ works as expected. Not with consul roles (this is with a root token)

STAG HASHI hwilkins ~ $ vault list consul/roles/
No value found at consul/roles/
STAG HASHI hwilkins ~ $ vault read consul/roles/nomad-consul-backup
Key         Value
---         -----
lease       0s
policy      a2V5ICIiIHsKICBwb2xpY3kgPSAicmVhZCIKfQo=
token_type  client
jefferai commented 7 years ago

What version of Vault?

holtwilkins commented 7 years ago

Sorry for not including that, 0.6.2 (client and server).

jefferai commented 7 years ago

Sorry, I thought this was in 0.6.2 but it turns out it's actually in master slated for 0.6.3; see https://github.com/hashicorp/vault/pull/2065