agentuity-cli-cloud-secret-delete
Delete a secret. Requires authentication. Use for Agentuity cloud platform operations
When & Why to Use This Skill
The agentuity-cli-cloud-secret-delete skill enables Claude to securely manage and remove sensitive credentials within the Agentuity cloud platform. This tool is essential for maintaining cloud security hygiene by allowing for the programmatic deletion of obsolete API keys, database strings, and other environment secrets directly through the CLI interface, ensuring that only necessary and authorized credentials remain in your infrastructure.
Use Cases
- Security Compliance: Periodically identifying and deleting expired or unused API keys to minimize the risk of credential leaks.
- Environment Decommissioning: Automatically removing all associated secrets when a project or temporary staging environment is retired to prevent resource clutter.
- Secret Rotation Workflows: Executing the final step of a security rotation policy by deleting legacy secrets once new credentials have been successfully deployed and verified.
- Incident Response: Rapidly revoking and deleting compromised secrets during a security breach to protect cloud resources from unauthorized access.
| name | agentuity-cli-cloud-secret-delete |
|---|---|
| description | Delete a secret. Requires authentication. Use for Agentuity cloud platform operations |
| version | "0.0.104" |
| license | Apache-2.0 |
| allowed-tools | "Bash(agentuity:*)" |
| argument-hint | "<key>" |
| command | "agentuity cloud secret delete" |
| tags | "destructive deletes-resource slow requires-auth requires-project" |
Cloud Secret Delete
Delete a secret
Prerequisites
- Authenticated with
agentuity auth login - Project context required (run from project directory or use
--project-id)
Usage
agentuity cloud secret delete <key>
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
<key> |
string | Yes | - |
Examples
Delete item:
bunx @agentuity/cli secret delete OLD_API_KEY
Delete item:
bunx @agentuity/cli secret rm DATABASE_URL
Output
Returns JSON object:
{
"success": "boolean",
"key": "string",
"path": "string"
}
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the operation succeeded |
key |
string | Secret key name that was deleted |
path |
string | Local file path where secret was removed |