CoreSDK reads configuration from environment variables at startup. Environment variables take precedence over coresdk.toml values but are overridden by explicit builder/constructor calls in code.
Never commit secrets to source control. Use a secrets manager (AWS Secrets Manager, GCP Secret Manager, HashiCorp Vault) or a .env file excluded by .gitignore.
CORESDK_JWKS_URL must be an https:// URL in production. HTTP is permitted only in local development.
Set CORESDK_FAIL_MODE=closed in high-security deployments to ensure requests are rejected if the sidecar is unreachable rather than allowed through.