agentuity avatar

agentuity-cli-cloud-secret-delete

Delete a secret. Requires authentication. Use for Agentuity cloud platform operations

提供方 agentuity|开源

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

ArgumentTypeRequiredDescription
<key>stringYes-

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"
}
FieldTypeDescription
successbooleanWhether the operation succeeded
keystringSecret key name that was deleted
pathstringLocal file path where secret was removed