Environment Variables
Scout CLI reads these environment variables. Flags take precedence over environment variables when both are set.
Authentication
| Variable | Description | Default | Used By |
|---|---|---|---|
SCOUT_ACCOUNT_SLUG | Default account slug | — | login |
SCOUT_AUTH_URL | Authentication server URL | https://id.base14.io | login |
API
| Variable | Description | Default | Used By |
|---|---|---|---|
SCOUT_API_URL | Override the Scout API base URL | Auto-discovered on login | All platform commands |
SCOUT_ACCOUNTS_API_URL | Override the accounts discovery API URL | https://api.base14.io | login |
OTel Collector Authentication
These variables are referenced in configs generated by
scout config init:
| Variable | Description |
|---|---|
SCOUT_OTEL_AUTH_TOKEN | Bearer token for OTLP exporter authentication |
SCOUT_OTEL_CLIENT_ID | OAuth2 client ID for OTLP exporter |
SCOUT_OTEL_CLIENT_SECRET | OAuth2 client secret for OTLP exporter |
SCOUT_OTEL_TOKEN_URL | OAuth2 token endpoint for OTLP exporter |
Output and Debugging
| Variable | Description | Default |
|---|---|---|
NO_COLOR | Disable ANSI color output when set to any value | — |
RUST_LOG | Set log level for debug output (e.g., debug, info) | — |
See Also
- Global Flags — flags available on every command
Was this page helpful?