2017-09-08 02:13:29 +00:00
|
|
|
---
|
2020-01-18 00:18:09 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: list - Command
|
2017-09-08 02:13:29 +00:00
|
|
|
description: |-
|
|
|
|
The "list" command lists data from Vault at the given path. This can be used
|
2017-09-20 20:05:00 +00:00
|
|
|
to list keys in a, given secrets engine.
|
2017-09-08 02:13:29 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# list
|
|
|
|
|
2022-04-21 16:17:24 +00:00
|
|
|
The `list` command lists data from Vault at the given path (wrapper command for
|
|
|
|
HTTP LIST). This can be used to list keys in a given secrets engine.
|
2017-09-08 02:13:29 +00:00
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
2022-04-21 16:17:24 +00:00
|
|
|
List available entities by their identifiers:
|
2017-09-08 02:13:29 +00:00
|
|
|
|
2020-05-21 17:18:17 +00:00
|
|
|
```shell-session
|
2022-04-21 16:17:24 +00:00
|
|
|
$ vault list identity/entity/id
|
2017-09-08 02:13:29 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2023-01-26 00:12:15 +00:00
|
|
|
There are no flags beyond the [standard set of flags](/vault/docs/commands)
|
2017-09-08 02:13:29 +00:00
|
|
|
included on all commands.
|