Skip to content

approle auth not working with vault_kv2_get lookup #444

Closed Answered by briantist
carlos-lehmann asked this question in Q&A
Discussion options

You must be logged in to vote

@carlos-lehmann thank you so much for elaborating! this makes a lot of sense and you went through all the permutations I would have suggested.

There is one other possible option which provides you with more control over the path, and that would be to use the vault_read plugin instead:

Since that plugin is not kv-aware, it isn't trying to do that level of path manipulation, and so you might be able to set the path to what it needs to be (by inserting /data/ in the right place), but you won't get the secret convenience return value from that plugin, so you'll have to index it as ['data']['data…

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
3 replies
@ji-podhead
Comment options

@carlos-lehmann
Comment options

@briantist
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@briantist
Comment options

@carlos-lehmann
Comment options

@carlos-lehmann
Comment options

@briantist
Comment options

Answer selected by carlos-lehmann
@carlos-lehmann
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants