Secure Azure API Management in four areas: isolate the network path, validate identity on every call, keep keys and secrets in a vault, and log enough to investigate without storing secrets. The checklist below is general practice organized around Microsoft's published security baseline. Tick each item with evidence, not intent.
It supports our Azure API Management work. Microsoft's reference is the API Management security baseline; check it for the current controls.
Network
- Decide public or internal exposure per API, and record it.
- Place the instance in a virtual network where the tier supports it, and front it with Application Gateway or Front Door with a web application firewall for public APIs.
- Restrict backend access to the gateway's addresses so backends are not reachable directly.
- Use private endpoints for Key Vault, storage and Event Hubs the gateway depends on.
- Limit management plane access with role-based access and private networking where available.
- Allow only TLS 1.2 or higher. Disable older protocols and weak ciphers in the instance settings.
Identity
- Validate tokens in inbound on every API, using validate-jwt or the Entra-specific validation policy. See the policy cookbook.
- Check issuer, audience, expiry and required roles or scopes, not just signature.
- Use managed identity for gateway-to-backend and gateway-to-Key Vault calls instead of stored credentials.
- Use mutual TLS or client certificates for partner and system-to-system calls where the contract needs them.
- Give the developer portal its own identity provider settings and review who can sign up.
- Use role-based access for administrators, with named owners and privileged access reviews.
Keys
| Item | Practice | Evidence |
|---|---|---|
| Subscription keys | Treat as identifiers; rotate on a schedule and on staff change; use product scope, not all-APIs scope | Rotation log |
| Named values | Mark secrets as secret and back them with Key Vault | Named value list |
| Certificates | Store in Key Vault; track expiry | Expiry report |
| Backend credentials | Managed identity first; otherwise vault references | Policy review |
| Built-in all-access subscription | Disable or restrict it | Subscription list |
Logging
- Send gateway logs and metrics to Azure Monitor and Application Insights, and to your SIEM.
- Log caller identity, API, operation, status, policy failure reason and correlation ID.
- Mask or omit tokens, keys and sensitive body fields. Check sampling so incidents are not missed.
- Alert on spikes in 401, 403 and 429 responses and on changes to policies and subscriptions.
- Keep activity logs of management changes for the retention your policy sets.
- Consider Microsoft Defender for APIs if you use it elsewhere in the estate.
Review cadence
| When | What |
|---|---|
| Each release | Policy diff reviewed by a second person |
| Monthly | Subscription and role review |
| Quarterly | Walk this checklist and Microsoft's baseline; test one failure case |
| After an incident | Update the checklist and the alert that missed it |
For AI traffic through the same gateway, add the controls in our AI gateway guide. For agent tool calls, see the MCP server security checklist.
Evidence an auditor will ask for
- A network diagram showing the gateway, backends and who can reach each.
- The list of APIs with the authentication method for each.
- A sample of access logs showing denied requests.
- The subscription and role review records.
- Key and certificate rotation records.
- The last review of Microsoft's baseline against your configuration.
- Change records for policy edits.
Prepare these before the audit, and store them where the team that owns the platform can update them. A checklist that lives in someone's head fails the first time that person is away.
Where teams usually fall short
- Backends reachable without the gateway.
- One shared all-access subscription key used by many apps.
- Policies that validate tokens on some operations but not others.
- Logging that works in test and is off in production.
Priorities if you only have a week
- Make sure every API validates tokens.
- Stop direct access to backends.
- Move secrets into Key Vault.
- Turn on logging to a place your team reads.
- Remove or restrict the all-access subscription.
These five remove the findings we would expect to see first in a review. The rest of the checklist can follow in order of risk.
How to use this list in a review
Assign each item an owner, a status and a link to evidence. Mark items as met only when the evidence is current. Anything not met gets a date and an accepted-risk note if the team chooses to defer it. Review the sheet with security and platform leads, then file it with your other control records so the next audit starts from it.



