agentuity-cli-cloud-env-get
Get an environment variable or secret value. Requires authentication. Use for Agentuity cloud platform operations
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
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 |
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!