We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Hello,
I'm not able to connect to vault with certs. My consul-templaterb version is 1.27.0
I have a vault_test.erb file with :
vault_test.erb
<%= secret("ssl/cloudflare/origin/key")['data'] %>
I run this command :
consul-templaterb --vault-addr http://vault_address:8200 --vault-cert-chain /etc/consul-templaterb/ssl/vault_auth.crt --vault-private-key /etc/consul-templaterb/ssl/vault_auth.key -o -t vault_test.erb:vault_test.txt
I get this error : [FATAL][TEMPLATE EVALUATION ERROR] vault_test.erb:1:in `render': You need to provide a vault token to use 'secret' keyword
[FATAL][TEMPLATE EVALUATION ERROR] vault_test.erb:1:in `render': You need to provide a vault token to use 'secret' keyword
I succeed to connect to vault via vault cli with cert method.
Authentification without vault token is not possible yet ?
Thanks
The text was updated successfully, but these errors were encountered:
Hello @arkpoah ,
Yes, you need --vault-token to be specified (or alternatively, you can use VAULT_TOKEN environment variable)
--vault-token
VAULT_TOKEN
Sorry, something went wrong.
ok thx Is it planned to be able to connect via cert method only ?
@arkpoah No, but we accept Pull Requests :) I would be glad to add support for it
No branches or pull requests
Hello,
I'm not able to connect to vault with certs.
My consul-templaterb version is 1.27.0
I have a
vault_test.erb
file with :I run this command :
I get this error :
[FATAL][TEMPLATE EVALUATION ERROR] vault_test.erb:1:in `render': You need to provide a vault token to use 'secret' keyword
I succeed to connect to vault via vault cli with cert method.
Authentification without vault token is not possible yet ?
Thanks
The text was updated successfully, but these errors were encountered: