Skip to content

vault list

List the vaults reachable by the current user.

Lists 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>]
OptionTypeRequiredDescription
--format <FORMAT>table | jsonOptionalOutput format. Default: table

This command also accepts the global options.

vault list
vault list --format json