一键导入
agentuity-cli-cloud-env-set
Set an environment variable or secret. Requires authentication. Use for Agentuity cloud platform operations
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Set an environment variable or secret. Requires authentication. Use for Agentuity cloud platform operations
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Display the API key for the currently authenticated user. Requires authentication. Use for managing authentication credentials
Login to the Agentuity Platform using a browser-based authentication flow. Use for managing authentication credentials
Logout of the Agentuity Cloud Platform. Use for managing authentication credentials
Add an SSH public key to your account (reads from file or stdin). Requires authentication. Use for managing authentication credentials
Delete an SSH key from your account. Requires authentication. Use for managing authentication credentials
List all SSH keys on your account. Requires authentication. Use for managing authentication credentials
| name | agentuity-cli-cloud-env-set |
| description | Set an environment variable or secret. Requires authentication. Use for Agentuity cloud platform operations |
| version | 0.1.11 |
| license | Apache-2.0 |
| allowed-tools | Bash(agentuity:*) |
| argument-hint | <key> <value> |
| metadata | {"command":"agentuity cloud env set","tags":"mutating updates-resource slow requires-auth requires-project"} |
Set an environment variable or secret
agentuity auth login--project-id)agentuity cloud env set <key> <value> [options]
| Argument | Type | Required | Description |
|---|---|---|---|
<key> | string | Yes | - |
<value> | string | Yes | - |
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--secret | boolean | No | false | store as a secret (encrypted and masked in UI) |
Set environment variable:
bunx @agentuity/cli env set NODE_ENV production
Set port number:
bunx @agentuity/cli env set PORT 3000
Set a secret value:
bunx @agentuity/cli env set API_KEY "sk_..." --secret
Returns JSON object:
{
"success": "boolean",
"key": "string",
"path": "string",
"secret": "boolean"
}
| Field | Type | Description |
|---|---|---|
success | boolean | Whether the operation succeeded |
key | string | Environment variable key |
path | string | Local file path where env var was saved |
secret | boolean | Whether the value was stored as a secret |