VaultCLI List-Secrets Command
Use the vaultCLI list-secrets command to display the specified secrets.
Syntax
vaultcli list-secrets [options]
Option | Description |
-h or --help |
Displays usage text. |
-b or --boxid string |
The ID or name of the box where the secrets are located. Strings must be enclosed in double quotes. |
-f or --field stringArray |
The fields to include in the response. |
-l or --filters string |
The conditional expression used to list filtered leases. Strings must be enclosed in double quotes. |
-m or --max-items int |
The maximum number of items to include in the response. |
-n or --next-token string |
The token from which the subsequent items would be listed. Strings must be enclosed in double quotes. |
-p or --prefix string |
List only those secrets whose name begins with this prefix. Strings must be enclosed in double quotes. |