Created
February 2, 2016 00:34
-
-
Save gambtho/51dc76ba490bee3f1921 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tg23qo-mbp in ~/Downloads | |
○ → curl -v -H "X-Vault-Token:$VAULT_TOKEN" http://127.0.0.1:8200/v1/secret/foo | |
* Trying 127.0.0.1... | |
* Connected to 127.0.0.1 (127.0.0.1) port 8200 (#0) | |
> GET /v1/secret/foo HTTP/1.1 | |
> Host: 127.0.0.1:8200 | |
> User-Agent: curl/7.43.0 | |
> Accept: */* | |
> X-Vault-Token:0ad978f1-ba06-0e5a-c6ef-ab92d169ef9a | |
> | |
< HTTP/1.1 200 OK | |
< Content-Type: application/json | |
< Date: Tue, 02 Feb 2016 00:34:00 GMT | |
< Content-Length: 108 | |
< | |
{"lease_id":"","renewable":false,"lease_duration":2592000,"data":{"bar":"baz"},"warnings":null,"auth":null} | |
* Connection #0 to host 127.0.0.1 left intact | |
tg23qo-mbp in ~/Downloads | |
○ → curl -v -H "X-Vault-Token:$VAULT_TOKEN" http://127.0.0.1:8200/v1/secret/fob | |
* Trying 127.0.0.1... | |
* Connected to 127.0.0.1 (127.0.0.1) port 8200 (#0) | |
> GET /v1/secret/fob HTTP/1.1 | |
> Host: 127.0.0.1:8200 | |
> User-Agent: curl/7.43.0 | |
> Accept: */* | |
> X-Vault-Token:0ad978f1-ba06-0e5a-c6ef-ab92d169ef9a | |
> | |
< HTTP/1.1 404 Not Found | |
< Content-Type: application/json | |
< Date: Tue, 02 Feb 2016 00:34:03 GMT | |
< Content-Length: 14 | |
< | |
{"errors":[]} | |
* Connection #0 to host 127.0.0.1 left intact |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment