AgentSkillsCN

agentuity-cli-cloud-secret-pull

从云端拉取密钥到本地 .env 文件。需要认证。用于 Agentuity 云平台操作

SKILL.md
--- frontmatter
name: agentuity-cli-cloud-secret-pull
description: Pull secrets from cloud to local .env file. Requires authentication. Use for Agentuity cloud platform operations
version: "0.1.2"
license: Apache-2.0
allowed-tools: "Bash(agentuity:*)"
metadata:
  command: "agentuity cloud secret pull"
  tags: "slow requires-auth requires-project"

Cloud Secret Pull

Pull secrets from cloud to local .env file

Prerequisites

  • Authenticated with agentuity auth login
  • Project context required (run from project directory or use --project-id)
  • cloud deploy

Usage

bash
agentuity cloud secret pull [options]

Options

OptionTypeRequiredDefaultDescription
--forcebooleanNofalseoverwrite local values with cloud values

Examples

Run pull command:

bash
bunx @agentuity/cli secret pull

Use force option:

bash
bunx @agentuity/cli secret pull --force

Output

Returns JSON object:

json
{
  "success": "boolean",
  "pulled": "number",
  "path": "string",
  "force": "boolean"
}
FieldTypeDescription
successbooleanWhether pull succeeded
pullednumberNumber of items pulled
pathstringLocal file path where secrets were saved
forcebooleanWhether force mode was used