DecaneDocs
ReferenceConfiguration
Reference

Configuration

Every constructor argument is keyword-only and optional.

OptionEnv fallbackDefaultPurpose
app_idEnforce the token’s project_id; sent as X-App-Id
verification_keyDECANE_VERIFICATION_KEYJWKSES256 SPKI PEM for offline verification
api_keyDECANE_API_KEYdck_live_…, for sign-in
project_secretDECANE_PROJECT_SECRETdck_sk_…, for by-user-id calls and creation
api_baseDECANE_API_BASEhttps://backend.decane.appBackend base URL
jwks_url{api_base}/.well-known/jwks.jsonJWKS location; ignored with a key
http_clientits own httpx clientYour httpx.Client or httpx.AsyncClient, used for every request including the JWKS fetch
timeout15.0Seconds per request for the client-owned httpx client

An empty or whitespace-only environment value counts as unset, so a deploy template that writes DECANE_API_BASE= cannot break the client. The resolved base URL is readable as decane.api_base.