Skip to content

Settings

Deployment-wide settings in the control-plane config, beside kinds, roles (or authorizer), rate_limits and services. All fields here are optional. Concept: config.

deletion_grace: 30d
reserved_slugs: [new, settings, api, admin]
policy_claims: [acr, amr]
defaults:
rate_limit: [standard]
timeouts: { connect: 10s, read: 30s }
max_body_bytes: 10485760
Field Rule
deletion_grace How long a deleted node stays restorable before it’s purged. One value for every kind. A duration: a whole number and s, m, h or d (30d, 12h). Default 30d. A change applies to new deletes only
reserved_slugs Slugs no node may take, deployment-wide
policy_claims JWT claim paths (dot-separated for nested objects, e.g. acr, amr, org.sso) extracted by the gateway for root security policy required_idp_claims checks. Identity rejects required_idp_claims keys not listed here. Applies to JWTs only; set both allow_personal_keys: false and allow_member_keys: false on the root security policy to block personal and user member API keys as well
defaults What a route or a service gets for a field it leaves out
rate_limit One or more policies from rate_limits (single policy name or list), unique, none with count_at: what a route without rate_limit uses, and what the gateway counts /access/routes against (rate limits). Omitted: routes without rate_limit are unlimited
timeouts { connect, read }, each a duration. Default 10s and 30s
max_body_bytes The largest request body the gateway forwards, in bytes. Default 10485760 (10 MiB)

A route’s own rate_limit, and a service’s own timeouts and max_body_bytes, override these (services).

IdP trust anchors and claim mappings (AUTH_ISSUER, AUTH_JWKS_URI, AUTH_ALLOWED_AUDIENCES, AUTH_SUBJECT_CLAIM, AUTH_NAME_CLAIMS, AUTH_SCOPE_CLAIM) and module switches (AUDIT_MODE, RATE_LIMIT_ENABLED) are kept in the gateway’s environment (reference/env.md).