SKILL.md
Cloud Env Get
Get an environment variable or secret value
Prerequisites
- Authenticated with
agentuity auth login
Usage
agentuity cloud env get <key> [options]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
<key> |
string | Yes | - |
Options
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--maskSecret |
boolean | Yes | - | mask the secret value in output |
--org |
optionalString | Yes | - | get from organization level (use --org for default org, or --org <orgId> for specific org) |
Examples
Get environment variable:
bunx @agentuity/cli env get NODE_ENV
Get a secret value:
bunx @agentuity/cli env get API_KEY
Show unmasked value:
bunx @agentuity/cli env get API_KEY --no-mask
Get org-level variable:
bunx @agentuity/cli env get OPENAI_API_KEY --org
Output
Returns JSON object:
{
"key": "string",
"value": "string",
"secret": "boolean",
"scope": "string"
}
| Field | Type | Description |
|---|---|---|
key |
string | Environment variable key name |
value |
string | Environment variable value |
secret |
boolean | Whether the value is stored as a secret |
scope |
string | The scope where the variable was found |