vault/website/content/partials/global-settings/both/format.mdx
Sarah Chavis f439a1eece
Refresh CLI docs: vault agent family (#28770)
* save progress

* fix file name

* save progress

* save progress

* remove uneeded subheader

* Fix build error

* fix another build error
2024-10-25 09:47:17 -07:00

18 lines
420 B
Text

<a id="global-format" />
**`[-format | VAULT_FORMAT] (enum: json)`**
Set the CLI output format.
Value | Description
------- | -----------
`table` | Structure the response as a table
`json` | Structure the response as JSON data
`yaml` | Structure the response as YAML data
`jsonx` | Structure information as XML data
**Examples**:
- CLI flag: `-format table`
- Environment variable: `export VAULT_FORMAT=table`