API Management Implementation
These runbooks implement the API Management Guidelines using OpenAPI, Terraform, APIM policy XML, managed identity, and backend OAuth. Portal- only production changes are not a source of truth.
Choose a runbook
| Change | Runbook |
|---|---|
| Provision or change the shared APIM service, UAMIs, named values, fragments, global policy, health API, or capacity | Platform provisioning |
| Understand or validate the deployed global authentication, tenant-validation, tracing, concurrency, and forwarding flow | Global policy implementation |
| Implement or review an external-provider webhook that bypasses normal global inbound authentication | Webhook flow implementation |
| Import a service contract and connect its backend, product, policies, roles, and diagnostics | Service onboarding |
| Write global, API, operation, cache, health, or trace policy XML | Policy authoring |
| Deploy, test, troubleshoot, roll back, revoke, or retire an API | Deployment and debugging |
Artifact ownership
rome-ion/infrastructure/spoke/apim
APIM service, identities, named values, fragments,
global policy, health API, and scale
<service>/api
OpenAPI contract
<service>/infrastructure-shared
API import, API policy, operation policy map,
diagnostics, and backend configuration
Required implementation set
A production API is not complete until all of these agree:
- OpenAPI paths, methods, schemas, and
operationIdvalues. - Terraform API import and product association.
- API policy and backend configuration.
- Operation-policy mapping and required
Ion.*roles. - APIM managed-identity permission for the backend audience.
- Backend OAuth configuration allowing the intended APIM principal.
- API diagnostics and safe correlation.
- Positive and negative deployment tests.
Do not record access tokens, authorization headers, secrets, private keys, tenant identifiers, application identifiers, or managed-identity identifiers as test evidence.