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
| Argument | Description |
|---|---|
<fingerprint> | Fingerprint of the key to revoke. Get it from culvii key list. |
Flags
| Flag | Description |
|---|---|
--env | Target environment. Defaults to active context. |
Examples
culvii key revoke a3f9...8c2d
# → ✓ Key a3f9...8c2d revoked successfully.
Error behaviour
| Condition | Message | Exit |
|---|---|---|
| Fingerprint not found | "Error: Key with fingerprint <fp> not found." | 1 |
Related commands
culvii key rotate, culvii key list