원클릭으로
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 |