agentuity-cli-cloud-env-get
Get an environment variable or secret value. Requires authentication. Use for Agentuity cloud platform operations
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
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 |
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-26
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!