2017-09-08 02:13:29 +00:00
|
|
|
---
|
|
|
|
layout: "docs"
|
|
|
|
page_title: "list - Command"
|
|
|
|
sidebar_current: "docs-commands-list"
|
|
|
|
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
|
2017-09-20 20:05:00 +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
|
|
|
|
|
|
|
|
There are no flags beyond the [standard set of flags](/docs/commands/index.html)
|
|
|
|
included on all commands.
|