Use the PASM CLI" /> list-leases-by-secret command to display all leases organized by secret.

Syntax

pasmcli list-leases-by-secret [options]

Option

Description

-h or --help

Displays usage text.

-b or --boxid string

The ID or name of the box where the secret is located. Strings must be enclosed in double quotes.

-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.

-s or --secretid string

The ID or name of the secret whose lease we want to list. Strings must be enclosed in double quotes.