-
-
Notifications
You must be signed in to change notification settings - Fork 192
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
datasource vault returns an empty map #1228
Comments
@zhilyaev can you provide more information about your environment? How are you authenticating to Vault? What environment variables do you have set when you're running gomplate? And - are you certain that the Vault role that gomplate is authenticated with has read permissions set correctly for that path? |
I use classic environment variables |
I have the same gomplate -d vault=vault://vault.my.local/secret/test/example -i '{{(ds "vault")}}'
map[]% Also datasourceReachable returns true. |
What version of Vault? What is the policy attached to the vault token that you're using? Can you reproduce with vault running locally in |
Ahh... this is using Vault's K/V v2 endpoint, which has slightly different semantics. Unfortunately, gomplate doesn't fully support that yet. See #862 for details. I'm going to close this, since #862 is already tracking this issue. If you believe this is not the problem, feel free to re-open and specify why this is different. |
Versions
I have
I do
I expect
gomplate -d vault=vault:///secret/test/example -i '{{(ds "vault").key}}' value
The text was updated successfully, but these errors were encountered: