Skip to main content

Environment Variables

Scout CLI reads these environment variables. Flags take precedence over environment variables when both are set.

Authentication

VariableDescriptionDefaultUsed By
SCOUT_ACCOUNT_SLUGDefault account sluglogin
SCOUT_AUTH_URLAuthentication server URLhttps://id.base14.iologin

API

VariableDescriptionDefaultUsed By
SCOUT_API_URLOverride the Scout API base URLAuto-discovered on loginAll platform commands
SCOUT_ACCOUNTS_API_URLOverride the accounts discovery API URLhttps://api.base14.iologin

OTel Collector Authentication

These variables are referenced in configs generated by scout config init:

VariableDescription
SCOUT_OTEL_AUTH_TOKENBearer token for OTLP exporter authentication
SCOUT_OTEL_CLIENT_IDOAuth2 client ID for OTLP exporter
SCOUT_OTEL_CLIENT_SECRETOAuth2 client secret for OTLP exporter
SCOUT_OTEL_TOKEN_URLOAuth2 token endpoint for OTLP exporter

Output and Debugging

VariableDescriptionDefault
NO_COLORDisable ANSI color output when set to any value
RUST_LOGSet log level for debug output (e.g., debug, info)

See Also

Was this page helpful?