agentuity-cli-cloud-secret-deleteSkill agentuity-cli-cloud-secret-delete

这是一个用于Agentuity云平台的命令行工具技能,专门用于删除存储在云环境中的密钥(Secret)。该技能需要用户先进行身份验证并设置项目上下文,然后通过指定密钥名称来安全地移除敏感信息,如API密钥、数据库连接字符串等。关键词:Agentuity云平台、密钥管理、命令行工具、DevOps、敏感信息删除、云安全。

云安全 0 次安装 0 次浏览 更新于 2/28/2026

name: agentuity-cli-cloud-secret-delete description: 删除一个密钥。需要身份验证。用于Agentuity云平台操作 version: “0.0.103” license: Apache-2.0 allowed-tools: “Bash(agentuity:*)” argument-hint: “<key>” metadata: command: “agentuity cloud secret delete” tags: “destructive deletes-resource slow requires-auth requires-project”

云密钥删除

删除一个密钥

前提条件

  • 已通过 agentuity auth login 进行身份验证
  • 需要项目上下文(从项目目录运行或使用 --project-id

用法

agentuity cloud secret delete <key>

参数

参数 类型 是否必需 描述
<key> 字符串 -

示例

删除项目:

bunx @agentuity/cli secret delete OLD_API_KEY

删除项目:

bunx @agentuity/cli secret rm DATABASE_URL

输出

返回JSON对象:

{
  "success": "boolean",
  "key": "string",
  "path": "string"
}
字段 类型 描述
success 布尔值 操作是否成功
key 字符串 被删除的密钥名称
path 字符串 密钥被移除的本地文件路径