Azure Front Door
Azure Front Door Premium is the public entry point for ION. It terminates client TLS, applies the platform WAF policy, can cache static single-page app assets, and forwards requests to Application Gateway. ADR-0015 defines the edge topology. This page covers the data-protection configuration of the Front Door profile, its endpoints, routes, origins, and secrets.
Data the resource handles
- Every request and response between users or external providers and ION, including bearer tokens, capability tokens, request bodies, and API responses.
- Cached copies of static SPA assets at Front Door edge locations.
- Access logs that contain client IP, request URI including query string, user agent, and response metadata.
Front Door is a global service and caches content at edge locations outside Switzerland. This is why caching is limited to non-sensitive static assets.
Encryption at rest
- Front Door MUST NOT cache customer data, API responses, or any
authenticated response. Only content-hashed static SPA assets (JavaScript,
CSS, fonts, images, and Module Federation chunks) MAY be cached. Shell
HTML, runtime configuration, and
mf-manifest.jsonMUST NOT be cached (ADR-0027). - Routes that serve
/apipaths MUST have caching disabled. - Certificates and keys live in Key Vault or are Front Door managed certificates. They MUST NOT be stored in source or pipeline variables.
Encryption in transit
- Custom domains MUST set the minimum TLS version to TLS 1.2.
- Routes MUST redirect HTTP to HTTPS. No route forwards a request over plain HTTP.
- The forwarding protocol to origins MUST be HTTPS only.
- Origins SHOULD keep certificate subject name validation enabled. Today it is disabled because Application Gateway presents its default certificate for every origin hostname. This is a recorded exception: TLS still encrypts the hop. See Front Door security.
- Front Door managed certificates SHOULD be used for custom domains. Where a customer-supplied certificate is required, it MUST be referenced from Key Vault using the latest version so rotation does not need a deployment.
Identity and access
- Front Door has no data-plane identity for ION data. Configuration changes MUST go through IaC. Portal write access MUST be limited to break-glass roles.
- Where Front Door reads certificates from Key Vault, access MUST use Key Vault RBAC with the narrowest role that can read the certificate secret, scoped to the vault or the individual secret.
Secrets
- Rule sets MUST NOT inject credentials, API keys, or shared secrets into request headers. Backend authentication is APIM’s job, using managed identity.
- Rule sets that set forwarding headers (for example, the externally visible host used for webhook signature validation) MUST overwrite, not append to, any client-supplied values. See API management guidelines.
Backup and recovery
- Front Door holds no authoritative data. Recovery is a redeploy from IaC.
- The complete profile — endpoints, routes, origin groups, rule sets, WAF policy links, custom domains, and secrets references — MUST be in IaC so it can be recreated without manual steps.
Logging and redaction
FrontDoorAccessLogMUST be sent to the Switzerland North Log Analytics workspace.FrontDoorWebApplicationFirewallLogMUST be sent where a WAF policy is attached.FrontDoorHealthProbeLogSHOULD be sent.- Diagnostic settings SHOULD use resource-specific tables.
- Access logs record the full request URI. Clients and APIs therefore MUST
NOT put tokens, secrets, or personal data other than identifiers such as
customerShortin query strings. - Diagnostic settings MUST NOT send logs to destinations outside Switzerland, including storage accounts or Event Hubs in other regions.
Network exposure
- Front Door endpoints are public by design. Abuse protection is the WAF policy, owned by Front Door security.
- Application Gateway MUST accept traffic only from Front Door, except
for the SignalR WebSocket hostnames and the manual Front Door outage
bypass. Application Gateway security
owns this restriction, using the
AzureFrontDoor.Backendservice tag together with a check on the Front Door ID header. Priority-2 direct origins and storage origins follow Front Door security.
Configuration reference
Properties are on Microsoft.Cdn/profiles child resources. Map them to the
azurerm_cdn_frontdoor_* resources or azapi equivalents.
| Setting | Required value | Basis |
|---|---|---|
customDomains.tlsSettings.minimumTlsVersion | TLS12 | Encryption and access |
customDomains.tlsSettings.certificateType | ManagedCertificate preferred; CustomerCertificate from Key Vault otherwise | Secrets and Key Vault |
secrets.parameters.useLatestVersion (customer certificate) | true | Secrets and Key Vault |
routes.httpsRedirect | Enabled | TLS on every hop |
routes.forwardingProtocol | HttpsOnly | TLS on every hop |
routes.cacheConfiguration | Not set (caching off) for /api and authenticated routes | ADR-0015 |
originGroups/origins.enforceCertificateNameCheck | true preferred (certificate_name_check_enabled in azurerm); false is a recorded exception for Application Gateway origins | TLS on every hop |
| Diagnostic settings | FrontDoorAccessLog, FrontDoorWebApplicationFirewallLog to Switzerland North Log Analytics | ADR-0021 |