agentuity-cli-cloud-secret-get
获取秘密值。需要身份验证。用于Agentuity云平台操作
📖 中文导读:获取秘密值。需要身份验证。用于Agentuity云平台操作 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: agentuity-cli-cloud-secret-get description: Get a secret value. Requires authentication. Use for Agentuity cloud platform operations version: "0.0.104" license: Apache-2.0 allowed-tools: "Bash(agentuity:*)" argument-hint: "" metadata: command: "agentuity cloud secret get" tags: "read-only fast requires-auth requires-project"
Cloud Secret Get
Get a secret value
Prerequisites
- Authenticated with
agentuity auth login - Project context required (run from project directory or use
--project-id)
Usage
agentuity cloud secret get <key> [options]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
<key> |
string | Yes | - |
Options
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--mask |
boolean | No | true |
mask the value in output (default: true in TTY, false otherwise) |
Examples
Get item details:
bunx @agentuity/cli secret get DATABASE_URL
Use no mask option:
bunx @agentuity/cli secret get STRIPE_SECRET_KEY --no-mask
Output
Returns JSON object:
{
"key": "string",
"value": "string"
}
| Field | Type | Description |
|---|---|---|
key |
string | Secret key name |
value |
string | Secret value |