Agentuity云密钥推送工具 agentuity-cli-cloud-secret-push

这是一个用于将本地开发环境配置文件(.env.production)中的敏感密钥和配置变量安全地同步推送到 Agentuity 云平台的命令行工具。它简化了云端应用部署时的密钥管理流程,确保生产环境配置的一致性。关键词:Agentuity CLI,云密钥管理,环境变量推送,DevOps工具,云平台配置,密钥同步。

CI/CD 0 次安装 0 次浏览 更新于 2/28/2026

name: agentuity-cli-cloud-secret-push description: 将本地 .env.production 文件中的密钥推送到云端。需要身份验证。用于 Agentuity 云平台操作 version: “0.0.104” license: Apache-2.0 allowed-tools: “Bash(agentuity:*)” metadata: command: “agentuity cloud secret push” tags: “mutating updates-resource slow api-intensive requires-auth requires-project”

云密钥推送

将本地 .env.production 文件中的密钥推送到云端

前提条件

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

使用方法

agentuity cloud secret push

示例

运行推送命令:

bunx @agentuity/cli secret push

输出

返回 JSON 对象:

{
  "success": "boolean",
  "pushed": "number",
  "source": "string"
}
字段 类型 描述
success boolean 推送是否成功
pushed number 推送的项目数量
source string 源文件路径