Skip to content

config

Manage configuration variables

Manage configuration variables at different scopes.

Configuration variables are key-value pairs injected into your service at runtime. Use the —scope flag to target a specific level (workspace, project, env, or service). Variables can be marked as secrets (values hidden by default) or as build-time variables available during image builds. Use sub-commands to list, set, delete, or bulk-import configuration from .env files.

ancla config list my-ws/my-proj/staging/my-svc
ancla config set my-ws/my-proj/staging/my-svc KEY=value
ancla config list --scope workspace my-ws
-h, --help help for config
--scope string Config scope: workspace, project, env, or service (default "service")
--api-key string API key for authentication
--config string config file (default: ~/.ancla/config.yaml)
--json Shorthand for --output json
-o, --output string Output format: table or json (default "table")
-q, --quiet Suppress non-essential output