一键导入
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
Set up machine authentication by uploading a public key for self-hosted infrastructure. Requires authentication. Use for managing authentication credentials
Show the current default organization. Use for managing authentication credentials
Set the default organization for all commands. 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.24 |
| 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"} |
Set an environment variable or secret
agentuity auth loginagentuity 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) |
--org | optionalString | Yes | - | set at organization level (use --org for default org, or --org for specific org) |
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
Set an organization-wide secret:
bunx @agentuity/cli env set OPENAI_API_KEY "sk_..." --secret --org
Returns JSON object:
{
"success": "boolean",
"key": "string",
"path": "string",
"secret": "boolean",
"scope": "string"
}
| Field | Type | Description |
|---|---|---|
success | boolean | Whether the operation succeeded |
key | string | Environment variable key |
path | string | Local file path where env var was saved (project scope only) |
secret | boolean | Whether the value was stored as a secret |
scope | string | The scope where the variable was set |