Unable to lookup the vault credentials via lookuptemplates #5738
Replies: 2 comments 12 replies
-
|
Instead, your Or if you'd like to store them in the same key, you would do this: And access them like |
Beta Was this translation helpful? Give feedback.
-
|
I have tried but it is not working. it was unable to interpolate the variable still. Also, I found that another issue opened by someone. May be is this related due to broken approle ? {"timestamp":"2020-06-10T22:18:23.296098384Z","level":"info","source":"atc","message":"atc.tracker.track.errored","data":{"build":18537,"error":"failed to interpolate task config: undefined vars: foo","job":"test-vault","pipeline":"test_demo","session":"23.41"}} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @alexandergurney
something weird happening. When I used fixed prefixpath
/concourseeverything worked but when I switched to lookup templates to custom path login is successful but lookup to the password is not happening. Not sure what I am missing over here.Let me elaborate my configurations,
enabled kv engine using below command .
vault secrets enable -version=1 -path=prod-system kvmy Policy looks like below,
approle. Below are the steps i did to enable the same.I have created secrets to test using
vault kv put prod-system/main/concourse test=DM password=abcd1234andvault kv put prod-system/main/concourse/mypipeline test=DM password=abcd1234when i tried testing via pipeline it is unable to interpolate the secret
failed to interpolate task config: undefined vars: password. my pipeline looks like below,Could you please help, to identify the problem. ?
Beta Was this translation helpful? Give feedback.
All reactions