Skip to main content

culvii key revoke

Immediately revoke a key.

Synopsis

culvii key revoke <fingerprint> [--env <env>]

Description

Immediately revokes a key. Future requests using the revoked key fail with a 401. The key record is retained for audit purposes and is never hard-deleted.

Requires an OAuth session.

Arguments

ArgumentDescription
<fingerprint>Fingerprint of the key to revoke. Get it from culvii key list.

Flags

FlagDescription
--envTarget environment. Defaults to active context.

Examples

culvii key revoke a3f9...8c2d
# → ✓ Key a3f9...8c2d revoked successfully.

Error behaviour

ConditionMessageExit
Fingerprint not found"Error: Key with fingerprint <fp> not found."1

culvii key rotate, culvii key list