Current terminal only:
export KEY="value"Persist in your shell profile (~/.zshrc, ~/.bashrc, or ~/.bash_profile):
echo 'export KEY="value"' >> ~/.bashrc
source ~/.bashrcYou can also set env vars in your runtime environment (Docker, systemd, CI, or cloud platform settings).
No global env var is required for startup.
LOKI_BEARER_TOKEN: bearer auth tokenLOKI_USERNAME: basic auth usernameLOKI_PASSWORD: basic auth password
Example:
export LOKI_BEARER_TOKEN="your-token"
# or
export LOKI_USERNAME="your-username"
export LOKI_PASSWORD="your-password"ELASTICSEARCH_API_KEYELASTICSEARCH_USERNAMEELASTICSEARCH_PASSWORDELASTICSEARCH_COMPAT_VERSION:7,8, or9(default8)
Example:
export ELASTICSEARCH_API_KEY="your-api-key"
export ELASTICSEARCH_COMPAT_VERSION="8"Use each cloud SDK's default credential chain:
- GCP: Application Default Credentials
- AWS: AWS default credential provider chain
- Azure:
DefaultAzureCredential