mirror of https://github.com/CrimsonTome/tldr.git
vault: Fix 'vault write' remarks
Vault uses different back-ends (secret, auth, audit, ..), which are modeled as a kind of file system: - Remove 'secret' from the token - Include the 'secret' back-end to the 'vault write' descriptioncoverage
parent
2ae4673c9d
commit
3074e54c5d
|
@ -14,13 +14,13 @@
|
||||||
|
|
||||||
`vault auth {{authentication-token}}`
|
`vault auth {{authentication-token}}`
|
||||||
|
|
||||||
- Store a new secret in the vault:
|
- Store a new secret in the vault using the generic back-end called secret:
|
||||||
|
|
||||||
`vault write {{secret/hello}} value={{world}}`
|
`vault write secret/{{hello}} value={{world}}`
|
||||||
|
|
||||||
- Read a secret from the vault:
|
- Read a value from the vault using the generic back-end called secret:
|
||||||
|
|
||||||
`vault read {{secret/hello}}`
|
`vault read secret/{{hello}}`
|
||||||
|
|
||||||
- Seal the vault again:
|
- Seal the vault again:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue