mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-08 16:24:51 -04:00
Add read field flag to documentation
This commit is contained in:
parent
c6b5d957de
commit
0f9270bdd3
1 changed files with 9 additions and 0 deletions
|
|
@ -107,3 +107,12 @@ value itsasecret
|
|||
You can use the `-format` flag to get various different formats out
|
||||
from the command. Some formats are easier to use in different environments
|
||||
than others.
|
||||
|
||||
You can also use the `-field` flag to extract an individual field
|
||||
from the secret data.
|
||||
|
||||
```
|
||||
$ vault read -field=value secret/password
|
||||
itsasecret
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue