agentuity-cli-auth-ssh-delete
Delete an SSH key from your account. Requires authentication. Use for managing authentication credentials
When & Why to Use This Skill
This Claude skill enables the programmatic removal of SSH keys from a user account via the Agentuity CLI. It streamlines credential management and enhances account security by allowing for the rapid revocation of compromised or obsolete SSH fingerprints, ensuring that only authorized access points remain active.
Use Cases
- Compromised Key Revocation: Immediately delete an SSH key fingerprint if the private key is lost or suspected of being compromised to prevent unauthorized access.
- Automated Credential Rotation: Integrate into security workflows to automatically clean up old or temporary SSH keys after a specific project or time period.
- Access Audit & Cleanup: Simplify the process of auditing account security by removing unused or redundant authentication credentials through simple CLI commands.
| name | agentuity-cli-auth-ssh-delete |
|---|---|
| description | Delete an SSH key from your account. Requires authentication. Use for managing authentication credentials |
| version | "0.0.104" |
| license | Apache-2.0 |
| allowed-tools | "Bash(agentuity:*)" |
| argument-hint | "[fingerprints...]" |
| command | "agentuity auth ssh delete" |
| tags | "destructive deletes-resource slow requires-auth" |
Auth Ssh Delete
Delete an SSH key from your account
Prerequisites
- Authenticated with
agentuity auth login
Usage
agentuity auth ssh delete [fingerprints...] [options]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
<fingerprints...> |
array | No | - |
Options
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--confirm |
boolean | No | true |
prompt for confirmation before deletion |
Examples
Delete item:
bunx @agentuity/cli auth ssh delete
Delete item:
bunx @agentuity/cli auth ssh delete <fingerprint>
Delete item:
bunx @agentuity/cli --explain auth ssh delete abc123
Delete item:
bunx @agentuity/cli --dry-run auth ssh delete abc123
Output
Returns JSON object:
{
"success": "boolean",
"removed": "number",
"fingerprints": "array"
}
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the operation succeeded |
removed |
number | Number of keys removed |
fingerprints |
array | Fingerprints of removed keys |