Skip to content

bhatti secret grants

List your secret grants, including those no longer active.

Synopsis

bhatti secret grants

Description

Prints the grant ID, secret name, sandbox, allowed hosts, status and expiration. Status is active, expired or revoked; expiration shows never for grants without a TTL. Use the ID with bhatti secret revoke. --json returns each grant's full API record, including its placeholder: treat JSON output as sensitive.

Examples

bhatti secret grants
bhatti secret grants --json

Options

This command takes only global flags. See Global flags for --url, --token, --json, --timing, --data-dir.

See also