DecaneDocs
ReferenceConfiguration
Reference

Configuration

Every builder setter is optional. Environment variables are read in build().

SetterEnv 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; trailing slashes stripped
jwks_url{api_base}/.well-known/jwks.jsonJWKS location; ignored with a key
http_clientits own reqwest::ClientYour client, used for every request including the JWKS fetch
timeout15 sPer-request timeout for the built-in client

An empty or whitespace-only environment value counts as unset. The resolved base URL is readable as decane.api_base().