Difference between revisions of "Vault curl"
Jump to navigation
Jump to search
(Created page with "https://www.ge.com/digital/documentation/predix-platforms/vault-service-managing-paths-secrets.html") |
|||
| Line 1: | Line 1: | ||
https://www.ge.com/digital/documentation/predix-platforms/vault-service-managing-paths-secrets.html | https://www.ge.com/digital/documentation/predix-platforms/vault-service-managing-paths-secrets.html | ||
| + | |||
| + | https://developer.hashicorp.com/vault/api-docs/auth/token | ||
| + | ``` | ||
| + | curl -sS --fail -X POST -d '{"increment": "24h"}' -H "X-Vault-Token: $VAULT_TOKEN" ${VAULT_ADDR}/v1/auth/ | ||
| + | token/renew-self | ||
| + | ``` | ||
Revision as of 18:37, 14 July 2023
https://www.ge.com/digital/documentation/predix-platforms/vault-service-managing-paths-secrets.html
https://developer.hashicorp.com/vault/api-docs/auth/token
curl -sS --fail -X POST -d '{"increment": "24h"}' -H "X-Vault-Token: $VAULT_TOKEN" ${VAULT_ADDR}/v1/auth/
token/renew-self