2017-09-08 02:11:52 +00:00
|
|
|
---
|
2020-01-18 00:18:09 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: secrets list - Command
|
|
|
|
sidebar_title: <code>list</code>
|
2017-09-08 02:11:52 +00:00
|
|
|
description: |-
|
2017-09-20 20:05:00 +00:00
|
|
|
The "secrets list" command lists the enabled secrets engines on the Vault
|
2017-09-08 02:11:52 +00:00
|
|
|
server. This command also outputs information about the enabled path including
|
|
|
|
configured TTLs and human-friendly descriptions. A TTL of "system" indicates
|
|
|
|
that the system default is in use.
|
|
|
|
---
|
|
|
|
|
|
|
|
# secrets list
|
|
|
|
|
2017-09-20 20:05:00 +00:00
|
|
|
The `secrets list` command lists the enabled secrets engines on the Vault server.
|
2017-09-08 02:11:52 +00:00
|
|
|
This command also outputs information about the enabled path including
|
|
|
|
configured TTLs and human-friendly descriptions. A TTL of "system" indicates
|
|
|
|
that the system default is in use.
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
List all enabled secrets engines:
|
|
|
|
|
|
|
|
```text
|
|
|
|
$ vault secrets list
|
|
|
|
Path Type Description
|
|
|
|
---- ---- -----------
|
|
|
|
cubbyhole/ cubbyhole per-token private secret storage
|
2017-09-20 20:05:00 +00:00
|
|
|
secret/ kv key/value secret storage
|
2017-09-08 02:11:52 +00:00
|
|
|
sys/ system system endpoints used for control, policy and debugging
|
|
|
|
```
|
|
|
|
|
|
|
|
List all enabled secrets engines with detailed output:
|
|
|
|
|
|
|
|
```text
|
|
|
|
$ vault secrets list -detailed
|
|
|
|
Path Type Accessor Plugin Default TTL Max TTL Force No Cache Replication Description
|
|
|
|
---- ---- -------- ------ ----------- ------- -------------- ----------- -----------
|
|
|
|
cubbyhole/ cubbyhole cubbyhole_10fbb584 n/a n/a n/a false local per-token private secret storage
|
2017-09-20 20:05:00 +00:00
|
|
|
secret/ kv kv_167ce199 n/a system system false replicated key/value secret storage
|
2017-09-08 02:11:52 +00:00
|
|
|
sys/ system system_a9fd745d n/a n/a n/a false replicated system endpoints used for control, policy and debugging
|
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
The following flags are available in addition to the [standard set of
|
2020-01-22 20:05:41 +00:00
|
|
|
flags](/docs/commands) included on all commands.
|
2017-09-08 02:11:52 +00:00
|
|
|
|
2018-02-12 23:12:16 +00:00
|
|
|
### Output Options
|
|
|
|
|
|
|
|
- `-format` `(string: "table")` - Print the output in the given format. Valid
|
|
|
|
formats are "table", "json", or "yaml". This can also be specified via the
|
|
|
|
`VAULT_FORMAT` environment variable.
|
|
|
|
|
|
|
|
### Command Options
|
|
|
|
|
2017-09-08 02:11:52 +00:00
|
|
|
- `-detailed` `(bool: false)` - Print detailed information such as configuration
|
|
|
|
and replication status about each secrets engine.
|