Skip to content

bhatti secret revoke

Revoke one secret grant, identified by the ID from bhatti secret grants.

Synopsis

bhatti secret revoke <grant-id> [-y]

Description

Revocation stops new connections from using the grant immediately. A connection already open can keep a previously resolved value until it closes. This does not remove a plain --secret value injected into a sandbox's environment. By default the CLI prompts for confirmation; use -y when running non-interactively.

Examples

bhatti secret grants
bhatti secret revoke a1b2c3d4
bhatti secret revoke a1b2c3d4 --yes

Options

| Flag | Default | Description | | ---- | ------- | ----------- | | -y, --yes | false | Skip the confirmation prompt. |

See Global flags for --url, --token, --json, --timing, --data-dir.

See also