API Management
Azure API Management (APIM) is the authenticated API facade for ION V3. It validates callers and customer tenancy, applies route authorization and traffic controls, and then calls OAuth-protected Azure backends using an APIM user-assigned managed identity. Backends do not become anonymously accessible merely because APIM fronts them.
V3 APIM is a continuation of the V2 implementation. ION still deploys one Rome APIM service per environment, with the same platform-owned global policy, named values, fragments, and managed identities. The platform team owns that service and its global policy; each service team owns its OpenAPI contract, API registration, backend, API policy, operation policies, and diagnostics. V3 adds a platform-governed product scope for micro-frontend (MFE) BFF routes and the capability contract enforced there.
Capability views
Edge-to-backend topology, trust boundaries, the two token legs, MFE capability enforcement, health paths, exposure, and ownership.
Read the architectureGlobal, product, API, and operation scopes; inheritance order; products, named values, fragments, caching, and diagnostics.
Explore the policy modelMandatory controls for contracts, authentication, authorization, backend OAuth, policy inheritance, caching, telemetry, webhooks, and health endpoints.
Read the guidelinesPlatform provisioning, global policy, service onboarding, XML policy samples, webhooks, API contracts, deployment validation, and debugging.
Use the implementation guideION use of APIM components
| APIM component | ION V3 implementation |
|---|---|
| API gateway | Implemented. Routes requests, validates tokens and tenants, enforces roles, capabilities, and traffic policies, and authenticates to backends. |
| Management plane | Implemented through version-controlled Terraform, policy XML, OpenAPI contracts, and controlled deployment pipelines. |
| Developer portal | Not used. Basic portal authentication and delegation are disabled. API contracts are maintained as OpenAPI and imported through deployment automation. |
| Products | Used to group and publish APIs. In V3 the MFE product also carries a platform-governed product policy (capability validation, user and tenant limits). Products are not the ION authentication mechanism. |
| Subscriptions | Not used. Subscription keys are not required (for example, the MFE product sets subscription_required = false). Callers authenticate with Microsoft Entra access tokens. |
| Workspaces | Not used. Platform and service ownership is separated by repository and deployment responsibility. |
What V3 adds to V2
| Area | V3 addition | Where documented |
|---|---|---|
| Product scope | The policy chain is now Global → Product → API → Operation. The MFE product policy is platform-governed and implemented by the Signet team. | Policy model |
| MFE capability enforcement | APIM calls Signet POST /v1/validations with its managed identity and fails closed with 403 before an MFE BFF is reached. | Architecture |
| Caller-context header | The standard is now explicit: APIM MUST override X-Authorization with the validated caller token. The deployed policy does not yet do this (gap APIM-01). | Global policy |
| Edge enforcement | Front Door → Application Gateway → APIM is the supported path. APIM does not yet reject requests that bypass Front Door (gap APIM-02). | Architecture |
| Provider webhooks | The Pigeon Twilio webhook joins the V2 Phoenix Microsoft Graph webhook as a reviewed exception, with a Front Door check at API scope. | Webhook flow |
| API contracts and async | OpenAPI versioning, rate-limit keys, the 202 Accepted pattern (ADR-0020), and 5xx diagnosis. | API contracts and async |
| Internal API | An APIM-only capability that mediates calls to Doppio with the inapi identity. | Internal API design |
Open gaps
These gaps describe deployed behavior that does not yet meet the guidelines. They do not relax the guidelines. Details, evidence, and V2 carry-over risks are in the global policy implementation.
| ID | Severity | Gap |
|---|---|---|
| APIM-01 | High | Global policy sets X-Authorization with exists-action="skip", so a client-supplied value survives to the backend. |
| APIM-02 | High | No global control rejects requests that reach the public APIM gateway without passing Front Door, so they skip the Front Door WAF. |
| APIM-03 | Medium | The request trace fragment logs full bodies and identity claims, including on the unauthenticated Twilio webhook. |
| APIM-04 | Low | APIM autoscale notifications go to a personal mailbox rather than an owned team channel. |
| APIM-05 | Medium | Signet’s operation policy template does not enforce roles_csv, so the signet-int validation route accepts any token that passes global policy. |
Scope
This capability covers:
- the Rome APIM service deployed in each V3 environment;
- global, product, API, and operation policy responsibilities;
- customer and Ontinue caller-token validation;
- tenant activation checks, authorization roles, and MFE capability validation;
- APIM managed identities and OAuth-protected backends;
- rate limiting, quotas, concurrency, routing, caching, health, and diagnostics;
- provider-webhook exceptions;
- OpenAPI-driven service onboarding and API versioning; and
- deployment validation, debugging, revocation, and retirement.
Application registration, application roles, managed identities, capability tokens, and user/BFF identity flows remain defined by Identity. Public edge routing and WAF controls are separate from APIM and are covered by Network security and the Azure Front Door pages.