vault list
List the vaults reachable by the current user.
vault list
Section link for vault listLists the vaults reachable by the current user. To change which user is current, use vault user switch.
If no user is current, the command exits with: not logged in; run 'vault login' first. If the current user has no stored session token, it exits with: not authenticated as '<username>'; run 'vault login' first.
vault list [--format <FORMAT>]Options
Section link for Options| Option | Type | Required | Description |
|---|---|---|---|
--format <FORMAT> | table | json | Optional | Output format. Default: table |
This command also accepts the global options.
Examples
Section link for ExamplesList reachable vaults
Section link for List reachable vaultsvault listJSON output
Section link for JSON outputvault list --format json