2017-09-08 02:13:29 +00:00
|
|
|
---
|
2020-01-18 00:18:09 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: list - Command
|
|
|
|
sidebar_title: <code>list</code>
|
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
|
|
|
|
|
|
|
|
The `list` command lists data from Vault at the given path. This can be used to
|
2019-11-05 20:10:58 +00:00
|
|
|
list keys in a given secrets engine.
|
2017-09-08 02:13:29 +00:00
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
2017-09-20 20:05:00 +00:00
|
|
|
List values under the "my-app" folder of the KV secrets engine:
|
2017-09-08 02:13:29 +00:00
|
|
|
|
|
|
|
```text
|
|
|
|
$ vault list secret/my-app/
|
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2020-01-22 20:05:41 +00:00
|
|
|
There are no flags beyond the [standard set of flags](/docs/commands)
|
2017-09-08 02:13:29 +00:00
|
|
|
included on all commands.
|