vault-action icon indicating copy to clipboard operation
vault-action copied to clipboard

Where to get caCertificate?

Open musmandevops opened this issue 4 years ago • 1 comments

Hello,

I have setup Vault on AWS using harshicorp cloud can anyone help me to get certificate? or can we get secrets without certificate ?

musmandevops avatar Oct 13 '21 06:10 musmandevops

Hi, I think that you can retrieve secrets without caCert ONLY IF you're using vault without enabling TLS. I'm facing with a similar issue, if I use curl to my remote vault endpoint I can show secret in json response but if I use the snippet that is showed on this main page, my gh step in workflow fail with 500 Internal Server Error (I don't know how to enable debug mode)

plabate avatar Nov 22 '21 13:11 plabate

Hi @musmandevops when using an HCP Vault cluster with this action you shouldn't need to specify a caCertificate, since the one HCP Vault uses is already trusted by github's runner.

@plabate that sounds like a good question for our discuss forums: https://discuss.hashicorp.com/c/vault/30

tvoran avatar Oct 13 '22 23:10 tvoran