vault-operator
vault-operator copied to clipboard
How to retrieve secrets from app using REST
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 Am wondering the same thing. I just get a blank response. Did you figure it out?