VaultCLI List-Leases Command

Use the vaultCLI list-leases command to display all leases.

Syntax

vaultcli list-leases [options]

Option Description

-h or --help

Displays usage text.

-f or --field stringArray

The lease 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 leases would be listed. Strings must be enclosed in double quotes.

-p or --prefix string

List only those leases whose name begins with this prefix. Strings must be enclosed in double quotes.