vault/website/content/docs/commands
Alexander Scheel 8ff7aaabc4
Fix raw format for other commands, add to docs! (#17730)
* Clarify when -format=raw fails

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Document Vault read's new -format=raw mode

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add raw format to usage, completion

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add missing support for raw format field printing

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Prohibit command execution with wrong formatter

This allows us to restrict the raw formatter to only commands that
understand it; otherwise, when running `vault write -format=raw`, we'd
actually hit the Vault server, but hide the output from the user. By
switching this to a flag-parse time check, we avoid running the rest of
the command if a bad formatter was specified.

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2022-10-28 12:53:23 -04:00
..
audit audit page tweaks based on customer feedback (#12504) 2021-09-08 09:21:36 -04:00
auth Docs: Plugin versioning documentation (#17460) 2022-10-11 23:12:02 +01:00
kv Use new -mount syntax for all KV subcommands in 1.11 docs (#16002) 2022-06-15 19:07:50 -04:00
lease Fix typo in lease renew documentation (#10651) 2021-09-13 11:57:10 -07:00
license add license termination time to API and CLI docs (#15349) 2022-05-11 10:05:38 -04:00
operator Add 'note' for surpassing dead server threshold time (#17455) 2022-10-07 14:26:56 +01:00
plugin Docs: Plugin versioning documentation (#17460) 2022-10-11 23:12:02 +01:00
policy feat(website): migrates nav data format and updates docs pages (#11242) 2021-04-06 13:49:04 -04:00
secrets Docs: Plugin versioning documentation (#17460) 2022-10-11 23:12:02 +01:00
token VAULT-6091 Document Duration Format String (#15920) 2022-06-13 08:51:07 -04:00
agent.mdx feat(website): migrates nav data format and updates docs pages (#11242) 2021-04-06 13:49:04 -04:00
debug.mdx api/monitor: Adding log format to monitor command and debug (#15536) 2022-05-24 13:10:53 -04:00
delete.mdx Elaborate the correlation between CLI and API (#15056) 2022-04-21 09:17:24 -07:00
index.mdx Added flag and env var which will disable client redirection (#17352) 2022-09-30 09:29:37 +01:00
list.mdx Elaborate the correlation between CLI and API (#15056) 2022-04-21 09:17:24 -07:00
login.mdx Minor grammar correction in help for login command (#16211) 2022-07-06 09:17:11 -07:00
monitor.mdx api/monitor: Adding log format to monitor command and debug (#15536) 2022-05-24 13:10:53 -04:00
namespace.mdx Add custom metadata to namespace API and CLI docs (#16633) 2022-08-09 14:10:41 -04:00
patch.mdx Add PATCH support to Vault CLI (#17650) 2022-10-26 14:30:40 -04:00
path-help.mdx feat(website): migrates nav data format and updates docs pages (#11242) 2021-04-06 13:49:04 -04:00
read.mdx Fix raw format for other commands, add to docs! (#17730) 2022-10-28 12:53:23 -04:00
server.mdx core: Parse VAULT_ALLOW_PENDING_REMOVAL_MOUNTS as bool (#17319) 2022-09-29 14:35:52 -04:00
ssh.mdx feat(website): migrates nav data format and updates docs pages (#11242) 2021-04-06 13:49:04 -04:00
status.mdx Add build_date to CLI and API docs (#15268) 2022-05-03 16:37:55 -04:00
token-helper.mdx feat(website): migrates nav data format and updates docs pages (#11242) 2021-04-06 13:49:04 -04:00
unwrap.mdx feat(website): migrates nav data format and updates docs pages (#11242) 2021-04-06 13:49:04 -04:00
version-history.mdx Add build_date to CLI and API docs (#15268) 2022-05-03 16:37:55 -04:00
version.mdx Add build_date to CLI and API docs (#15268) 2022-05-03 16:37:55 -04:00
write.mdx Elaborate the correlation between CLI and API (#15056) 2022-04-21 09:17:24 -07:00