From 0f9270bdd3cdeb366a450de8fcc23d4daf237b6d Mon Sep 17 00:00:00 2001 From: Ian Unruh Date: Fri, 22 May 2015 11:33:28 -0700 Subject: [PATCH] Add read field flag to documentation --- website/source/docs/commands/read-write.html.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/website/source/docs/commands/read-write.html.md b/website/source/docs/commands/read-write.html.md index dc78f5cb37..4796d9135f 100644 --- a/website/source/docs/commands/read-write.html.md +++ b/website/source/docs/commands/read-write.html.md @@ -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 +``` +