From 88524e1f00bae91fa192af140ba4dbc315b181fa Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Thu, 7 Sep 2017 22:11:03 -0400 Subject: [PATCH] Add "policy read" command documentation --- .../source/docs/commands/policy/read.html.md | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 website/source/docs/commands/policy/read.html.md diff --git a/website/source/docs/commands/policy/read.html.md b/website/source/docs/commands/policy/read.html.md new file mode 100644 index 0000000000..3f9e31956d --- /dev/null +++ b/website/source/docs/commands/policy/read.html.md @@ -0,0 +1,26 @@ +--- +layout: "docs" +page_title: "policy read - Command" +sidebar_current: "docs-commands-policy-read" +description: |- + The "policy read" command prints the contents and metadata of the Vault policy + named NAME. If the policy does not exist, an error is returned. +--- + +# policy read + +The `policy read` command prints the contents and metadata of the Vault policy +named NAME. If the policy does not exist, an error is returned. + +## Examples + +Read the policy named "my-policy": + +```text +$ vault policy read my-policy +``` + +## Usage + +There are no flags beyond the [standard set of flags](/docs/commands/index.html) +included on all commands.