Ask questionsVault multi-line values are not supported - no support for ssh-keys through vault?
i am adding my ssh key using
vault write secret/concourse/main/git_kw_ci_sshkey value=@key
while key being a file in the PWD with the ssh private key.
i did try to consume bot ways:
private_key: | ((git_kw_ci_sshkey))
Both time getting a
resource script '/opt/resource/check ' failed: exit status 1 stderr: Error loading key "/tmp/git-resource-private-key": invalid format
Am i writing / retrieving it the wrong way or is there yet no way to support ssh keys from the vault? Using
value read secret/concourse/main/git_kw_ci_sshkey the returned value is just fine
Answer questions M0nsieurChat
Unfortunately, we ran into the same issue.
Didn't find any workaround yet