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

How to retrieve secrets from app using REST

Open danling opened this issue 7 years ago • 1 comments

I created a Vault service "cos-private" in "default" namespace by following the instructions, and was able to write and read secrets( vault write secret/my-test key1=value1 key2=value2 ...., and vault read secret/my-test). Now, I want to be able to retrieve my-test secrets from my app using REST. What is the URL to get the secrets? I tried "curl -k https://cos-private.default.svc:8200/secret/my-test", but got "404 page not found".

danling avatar Jul 18 '18 21:07 danling

@danling Am wondering the same thing. I just get a blank response. Did you figure it out?

booboothefool avatar Oct 01 '18 17:10 booboothefool