Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

How to retrieve secrets from app using REST #336

Open
danling opened this issue Jul 18, 2018 · 1 comment
Open

How to retrieve secrets from app using REST #336

danling opened this issue Jul 18, 2018 · 1 comment

Comments

@danling
Copy link

danling commented Jul 18, 2018

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".

@booboothefool
Copy link

booboothefool commented Oct 1, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants