Configuration reference
All CAMUNDA_* environment variables recognised by the SDK. These can also be passed as keys in the configuration={...} dict.
| Variable | Default | Description |
|---|---|---|
ZEEBE_REST_ADDRESS | http://localhost:8080/v2 | REST API base URL (alias for CAMUNDA_REST_ADDRESS). |
CAMUNDA_REST_ADDRESS | http://localhost:8080/v2 | REST API base URL. /v2 is appended automatically if missing. |
CAMUNDA_TOKEN_AUDIENCE | zeebe.camunda.io | OAuth token audience. |
CAMUNDA_OAUTH_URL | https://login.cloud.camunda.io/oauth/token | OAuth token endpoint URL. |
CAMUNDA_CLIENT_ID | — | OAuth client ID. |
CAMUNDA_CLIENT_SECRET | — | OAuth client secret. |
CAMUNDA_CLIENT_AUTH_CLIENTID | — | Alias for CAMUNDA_CLIENT_ID. |
CAMUNDA_CLIENT_AUTH_CLIENTSECRET | — | Alias for CAMUNDA_CLIENT_SECRET. |
CAMUNDA_AUTH_STRATEGY | NONE | Authentication strategy: NONE, OAUTH, or BASIC. Auto-inferred from credentials if omitted. |
CAMUNDA_BASIC_AUTH_USERNAME | — | Basic auth username. Required when CAMUNDA_AUTH_STRATEGY=BASIC. |
CAMUNDA_BASIC_AUTH_PASSWORD | — | Basic auth password. Required when CAMUNDA_AUTH_STRATEGY=BASIC. |
CAMUNDA_SDK_LOG_LEVEL | error | SDK log level: silent, error, warn, info, debug, trace, or silly. |
CAMUNDA_TOKEN_CACHE_DIR | — | Directory for OAuth token disk cache. Disabled if unset. |
CAMUNDA_TOKEN_DISK_CACHE_DISABLE | false | Disable OAuth token disk caching. |
CAMUNDA_LOAD_ENVFILE | — | Load configuration from a .env file. Set to true (or a file path). |