ION DocsV3
  • Architecture
    • ION Architecture V2
      • ION V2 — Architecture Overview
      • V2 context
        • V2 capacity model
        • V2 constraints
        • V2 integration boundaries
        • V2 requirements
        • V2 solution strategy
      • V2 Structural Design
        • ION V2 Landscape
        • ION V2 Platform Views
          • ION V2 Delivery and Runway
          • ION V2 Incident-Processing Pipelines
          • ION V2 Platform Networking
          • ION V2 Platform Observability
          • ION V2 Platform Security
        • ION V2 System Context
        • ION V2 Systems
          • Alya System Topology
          • Cogs System Topology
          • Ion IQ System Topology
          • Kingsman System Topology
          • Pigeon System Topology
          • Veritas System Topology
          • Watchtower System Topology
      • V2 evolution and platform lineage
        • Tiberium Origins
          • Tiberium Architecture Overview
          • Tiberium Components Architecture Overview
        • Voyager and the V2 Merge
          • Voyager Architecture Overview
          • Voyager Identity Architecture Overview
          • Voyager Services Architecture Overview
      • V2 Platform Architecture
        • Alya Workbench
          • Mission Brief: Alya (Workbench for Cyber Defenders)
        • Asset Discovery
        • Automation
        • Customer Communications
          • Notification and Escalation Design
        • Reporting and Dashboards
        • Vulnerability Mitigations
      • V2 Well-Architected
        • V2 Reliability
          • Availability Architecture
        • V2 Security
          • API Management
            • API Management Architecture
            • API Management Guidelines
            • API Management Implementation
              • APIM Deployment and Debugging
              • APIM Global Policy Implementation
              • APIM Platform Provisioning
              • APIM Policy Authoring
              • APIM Service Onboarding
              • APIM Webhook Flow Implementation
            • API Management Policy Model
          • V2 Security Architecture
          • Teams Notification Security
          • Customer Data and PII
          • V2 Identity
            • Applications and Authorization
            • V2 Identity Architecture
            • Microsoft Entra ID
            • V2 Identity Standard
            • V2 Identity Implementation
              • Application Registration
              • Application Roles
              • Customer Identity Onboarding
              • Identity Lifecycle and Operations
              • Managed Identity
            • V2 Identity Workflows
              • Alya Workbench Identity Workflow
              • Customer Portal Identity Workflow
              • Microservices Identity Workflow
              • ServiceNow Inbound Identity Workflow
              • Microsoft Teams Identity Workflow
          • Customer Environment Access
            • Customer Environment Access Architecture
            • Customer Environment Access Guidelines
            • Customer Environment Access How-to
    • ION Architecture V3
      • ION V3 Architecture Overview
      • V3 context
        • V3 capacity model
        • V3 constraints
        • V3 integration boundaries
        • V3 requirements
        • V3 solution strategy
      • V3 Structural Design
        • Data and events
          • Archival and retention
          • Event model
          • Event sourcing
          • Event store
          • Micro-frontend interaction
          • Recovery and disaster recovery
          • Replay and reconstruction
          • Reporting and customer analytics
          • Event-sourcing requirements
          • Snapshots
          • UI interaction
        • ION v3 domains
          • Assets domain
            • Assets domain flows
            • Assets domain implementation
            • Assets domain model
          • Customer Collaboration domain
            • Customer Collaboration domain flows
            • Customer Collaboration domain implementation
            • Customer Collaboration domain model
          • Incident domain
            • Incident domain flows
            • Incident domain implementation
            • Incident domain model
          • Investigation domain
            • Investigation domain flows
            • Investigation domain implementation
            • Investigation domain model
          • Remediation domain
            • Remediation domain implementation
            • Remediation domain model
          • Ticket domain
            • Ticket domain flows
            • Ticket domain implementation
            • Ticket domain model
        • ION V3 Landscape
        • ION V3 Platform Views
          • Internal API
            • Internal API architecture
            • Internal API consumer guide
            • Internal API identity and access
            • Internal API implementation
          • Micro-Frontends
            • Micro-Frontends architecture
            • Micro-Frontends capability service (Signet)
            • Micro-Frontends composition
            • Micro-Frontends identity and access
            • Micro-Frontends implementation
            • Micro-Frontends real-time (SignalR)
            • Micro-Frontends routing and ingress
            • Shells and MFEs
          • SOAR Integration
            • SOAR Integration architecture
            • SOAR Integration customer onboarding
            • SOAR Integration Identity and Access Design
            • SOAR Integration implementation
            • SOAR Integration operations
        • ION V3 System Context
        • ION V3 systems
          • Alya
          • Cogs
          • ION IQ
          • Kingsman
          • Pigeon
          • Veritas
          • Watchtower
      • V2 to V3 evolution
        • V2 to V3 architecture delta
        • V2 to V3 decision changes
        • V2 to V3 migration guidance
        • V2 to V3 service impact
      • Well-Architected
        • Cost Optimization
          • Cost Governance
            • Cost Governance Architecture
            • Cost Governance Guidelines
            • Cost Governance Implementation
          • SKU Strategy
            • SKU Strategy Architecture
            • SKU Strategy Guidelines
            • SKU Strategy Implementation
        • Operational excellence
          • Audit Logs
            • Audit Logs Architecture
            • Audit Logs Guidelines
            • Audit Logs Implementation
          • CI/CD Runway
            • CI/CD Runway Architecture
            • CI/CD Runway Guidelines
            • CI/CD Runway Implementation
          • Feature Flags
            • Feature Flags Architecture
            • Feature Flags Guidelines
            • Feature Flags Implementation
          • Incident management
            • Incident management architecture
            • Incident management guidelines
            • Incident management implementation
          • Azure Landing Zone
            • Azure Landing Zone Architecture
            • Azure Landing Zone Guidelines
            • Azure Landing Zone Implementation
          • Notifications
            • Notifications Architecture
            • Notifications Guidelines
            • Notifications Implementation
          • Observability
            • Observability Architecture
            • Observability Guidelines
            • Observability Implementation
        • Performance efficiency
          • Capacity, sizing, and scaling
            • Capacity, sizing, and scaling architecture
            • Capacity, sizing, and scaling guidelines
            • Implement capacity, sizing, and scaling
          • UI responsiveness
            • UI responsiveness architecture
            • UI responsiveness guidelines
            • Implement UI responsiveness
        • V3 reliability
          • Application resilience patterns
          • Critical flows
          • Customer reliability assurance
            • ION Platform reliability and service continuity
            • Customer reliability slides
          • Disaster recovery
            • Disaster recovery architecture
            • Disaster recovery guidelines
            • Disaster recovery implementation
              • DR implementation: API Management
              • DR implementation: App Configuration
              • DR implementation: Application Gateway
              • DR implementation: Azure SQL Database
              • DR implementation: Container Apps
              • DR implementation: Container Registry
              • DR implementation: Cosmos DB
              • DR implementation: Event Hubs
              • DR implementation: Azure Front Door
              • DR implementation: Function Apps
              • DR implementation: Key Vault
              • DR implementation: Log Analytics and Application Insights
              • DR implementation: MySQL Flexible Server (Temporal)
              • DR implementation: PostgreSQL Flexible Server
              • DR implementation: Azure Managed Redis
              • DR implementation: Service Bus
              • DR implementation: SignalR
              • DR implementation: Storage accounts
            • Operational-data replication
            • Disaster recovery operations
          • Edge and routing
            • Azure Application Gateway
              • Azure Application Gateway architecture
              • Azure Application Gateway guidelines
              • Azure Application Gateway implementation
              • Azure Application Gateway resiliency
              • Azure Application Gateway security
            • Azure Front Door
              • Azure Front Door architecture
              • Azure Front Door guidelines
              • Azure Front Door implementation
              • Azure Front Door resiliency
              • Azure Front Door security
          • Event-store disaster recovery (moved)
          • Failure mode analysis
          • Graceful degradation
            • Graceful degradation architecture
            • Graceful degradation guidelines
            • Graceful degradation implementation
          • V3 reliability maturity model
            • V3 reliability maturity assessment
            • Maturity level 2: self-preservation
            • Maturity level 3: recovery readiness
            • Maturity level 4: maintain stability
            • Maturity level 5: stay resilient
          • Multi-region replication
            • Multi-region replication architecture
            • Multi-region replication guidelines
            • Multi-region replication implementation assessment
          • Reliability testing
          • Scaling and headroom
          • Targets and health model
          • Trade-offs and accepted risks
        • V3 Security
          • API Management
            • API Management Architecture
            • API Management Guidelines
            • API Management Implementation
              • API Contracts and Asynchronous Operations
              • APIM Deployment and Debugging
              • APIM Global Policy Implementation
              • APIM Platform Provisioning
              • APIM Policy Authoring
              • APIM Service Onboarding
              • APIM Webhook Flow Implementation
            • API Management Policy Model
          • V3 Security Architecture
          • Data protection
            • Data protection architecture
            • Data protection guidelines
            • Data protection implementation guidelines
              • API Management
              • Application Gateway
              • Azure SQL Database
              • Azure Container Apps
              • Azure Cosmos DB
              • Azure Front Door
              • Azure Function Apps
              • Azure Database for MySQL
              • Azure Database for PostgreSQL
              • Data protection procedures
          • V3 Security Guidelines
          • V3 Identity
            • Applications and Authorization in ION V3
            • V3 Identity Architecture
            • Capabilities
            • Microsoft Entra ID for ION V3
            • V3 Identity Standard
            • V3 Identity Implementation
              • App Service Authentication
              • Application Registration
              • Application Roles
              • Customer Azure RBAC
              • Customer Identity Onboarding
              • Identity Lifecycle and Operations
              • Mailbox-Scoped Access
              • Managed Identity
              • Workload Identity Federation
            • V3 Identity Workflows
              • Alya Workbench Identity Workflow
              • Customer Azure RBAC Identity Workflow
              • Customer Portal Identity Workflow
              • Mailbox Access Identity Workflow
              • Microservices Identity Workflow
              • ServiceNow Inbound Identity Workflow
              • Shell and MFE Identity Workflow
              • Microsoft Teams Identity Workflow
          • Customer Environment Access
            • Azure Lighthouse
              • Azure Lighthouse implementation
            • GDAP and Tenant Governance
              • Access Packages (legacy)
              • GDAP human access implementation
            • Customer environment access guidelines
            • Multi-tenant Entra apps
              • Multi-tenant Entra apps implementation
            • Teams B2B Direct Connect
              • Teams B2B Direct Connect implementation
          • Network Security
            • Network Security Architecture
            • Network Security Guidelines
            • Network Security Implementation
              • Egress and Static IPs
              • Resource Access Restrictions
          • V3 Security Patterns
    • ION Architecture V4
      • How V4 evolves from V3
  • Principles
  • Patterns
    • Application Permissions Only
    • Async REST
    • Audit Logs (Pattern)
    • Auth / AuthZ
    • Dead Letter Queue (DLQ)
    • Dual Writes (and how to avoid them)
    • ECST — Event-Carried State Transfer
    • Event Hubs Throttling
    • Feature Flags (Pattern)
    • Idempotent Write
    • MFE UI Interaction
    • Notifications (Pattern)
    • Private Data Store Access
    • Schema Evolution
    • Service Bus Topic Throttling
    • UI Interaction with an Event-Sourced Backend
  • Standards
    • API Standard
    • API Standards
    • Coding Standard
    • Coding Standards
    • Documentation Standard
    • Documentation Standards
    • Microservice Standard
    • Microservice Checklist
    • Operational Readiness Standard
    • ORR — Operational Readiness Review Checklist
  • Decisions
    • ADR-0001
    • ADR-0002
    • ADR-0003
    • ADR-0004
    • ADR-0005
    • ADR-0006
    • ADR-0007
    • ADR-0008
    • ADR-0009
    • ADR-0010
    • ADR-0011
    • ADR-0012
    • ADR-0013
    • ADR-0014
    • ADR-0015
    • ADR-0016
    • ADR-0017
    • ADR-0018
    • ADR-0019
    • ADR-0020
    • ADR-0021
    • ADR-0022
    • ADR-0023
    • ADR-0024
    • ADR-0025
    • ADR-0026
    • ADR-0027
    • ADR-0028
    • ADR-0029
    • ADR-0030
    • ADR-0031
    • ADR-0032
    • ADR-0033
    • ADR-0034
  • Services
  • Governance
    • Assumptions
    • Discrepancies
    • V3 reference coverage and conflict matrix
OntinueION Docs
  1. Architecture
  2. ION Architecture V3
  3. Well-Architected
  4. V3 Security
  5. API Management
  6. API Management Implementation
  7. APIM Platform Provisioning

APIM Platform Provisioning

security
VersionV2V3
architecturev3

APIM Platform Provisioning

The platform baseline is implemented under rome-ion/infrastructure/spoke/apim. It creates one Rome APIM service in each environment and installs the controls inherited by service-owned APIs. The V3 baseline is the V2 baseline; this page records the current deployed values.

Resource convention

ConcernDeployed convention
Environment short codesapa, bta, gma, prd
Resource grouprg-rome-{env}-chn-01
APIM serviceapim-rome-{env}-chn-02
Primary APIM UAMIid-apim-{env}-chn-01
Internal API UAMIid-apim-{env}-chn-inapi (Internal API)
AI API UAMIid-apim-{env}-chn-aiapi (purpose Inferred)

Identifiers, audiences, tenant values, and secrets remain controlled environment configuration.

Deployed tier and capacity

Verified in rome-ion/infrastructure/spoke/apim/environments and apim_scale_rule.tf:

EnvironmentSKUAutoscale range
Alpha, BetaStandard_11–2 units
Gamma, ProductionStandard_22–3 units

Autoscale uses the APIM Capacity metric: above 70% for 10 minutes adds one unit, below 30% removes one unit, with a 5-minute cooldown. Availability zones are not configured (commented out in the module call). Frontend and backend TLS 1.0/1.1 and weak ciphers are disabled.

Provisioning sequence

1

Provision APIM and attach its identities

Owner: Platform team

Create the environment APIM service from the local tf-modules/azure/api-management-public module and attach the primary, internal API, and AI API user-assigned managed identities. Capacity and SKU are environment settings; the resource name and ownership model remain consistent.

module "rome_apim" {
  source                = "<approved-api-management-module>"
  resource_group_name   = "rg-rome-${var.environment_short}-chn-01"
  application_short     = "rome"
  instance_count        = "02"
  sku_name              = var.apim_sku_name
  user_assigned_msi_ids = [
    azurerm_user_assigned_identity.apim.id,
    azurerm_user_assigned_identity.internal_api.id,
    azurerm_user_assigned_identity.ai_api.id,
  ]
}

Do not use client secrets or certificates for APIM-to-Azure authentication.

2

Grant Key Vault and backend permissions

Owner: Platform and backend owners

Grant the primary APIM identity access to the Key Vault values required by APIM. Grant each APIM identity only the backend application roles and Azure permissions needed for its trust boundary. A backend owner must approve the principal and audience accepted by that backend.

Validate that removing the grant causes token acquisition or backend access to fail closed.

3

Create controlled named values

Owner: Platform team

The deployed named values (Verified in apim_named_values.tf) are:

Named valuePurpose
APIM-AZURE-AD-APPLICATION-IDBackend audience for APIM UAMI tokens (Platform API)
APIM-AZURE-AD-ISSUER-URLIssuer base URL
APIM-MSI-CLIENT-IDPrimary APIM UAMI selector
APIM-ONTINUE-TENANT-IDOntinue tenant, which skips customer-tenant activation
APIM-FRONT-DOOR-IDION’s Front Door ID, for X-Azure-FDID checks
APIM-TENANT-VALIDATION-URLFixed base URL of the tenant-validation API
APIM-TENANT-CACHE-DURATIONTenant-status cache duration (1,800 seconds)
APIM-INAPI-MSI-CLIENT-IDInternal API UAMI selector
APIM-AIAPI-MSI-CLIENT-IDAI API UAMI selector

Use Key Vault references for secret values:

resource "azurerm_api_management_named_value" "backend_audience" {
  name                = "APIM-BACKEND-AUDIENCE"
  display_name        = "APIM-BACKEND-AUDIENCE"
  resource_group_name = var.resource_group_name
  api_management_name = var.apim_name
  secret              = true

  value_from_key_vault {
    secret_id          = azurerm_key_vault_secret.backend_audience.id
    identity_client_id = azurerm_user_assigned_identity.apim.client_id
  }
}

Policy XML references a named value as {{APIM-FRONT-DOOR-ID}}; it does not contain the environment value.

4

Install shared policy fragments

Owner: Platform team

Install request, response, and error fragments before the global policy that references them.

apim_policy_fragment = {
  fragment-request-trace  = "apim_policies/apim_policy_fragment_request_trace.xml"
  fragment-response-trace = "apim_policies/apim_policy_fragment_response_trace.xml"
  fragment-error-trace    = "apim_policies/apim_policy_fragment_error_trace.xml"
}

Fragments must follow the telemetry requirements in the APIM guidelines. The deployed request fragment logs full bodies and identity claims (gap APIM-03).

5

Install the environment global policy

Owner: Platform team

Apply the global policy only after APIM, identities, named values, and fragments exist. The policy must provide the same control behavior in every environment, while audiences and tenant settings remain environment-specific.

module "rome_apim_global_policy" {
  depends_on        = [module.rome_apim, module.policy_fragments]
  source            = "<approved-api-management-policy-module>"
  api_management_id = module.rome_apim.apim_id

  apim_policy = {
    apim = "apim_policies/apim_global_policy_${var.environment_short}.xml"
  }
}

Validate XML compilation and denied requests before onboarding service APIs. The global policy implementation documents the execution order, environment differences, and open gaps.

6

Deploy public and authenticated health operations

Owner: Platform team

Import the platform health OpenAPI contract into product apim-product-health-probes-internal-{env}-chn-01 (path health-probes-ext) and bind each operationId to its policy:

  • get_healthcheck and head_healthcheck return only synthetic gateway health and bypass global inbound policy;
  • get_auth_healthcheck inherits the global policy and requires the approved health-read role.

A public health operation must not be reused as proof of backend readiness. When the global X-Azure-FDID check (APIM-02) is introduced, only these two public operations are exempt.

7

Configure capacity, diagnostics, and portal posture

Owner: Platform team

Configure autoscaling and operational alerts for the APIM tier. Basic portal authentication and delegation are disabled (Verified). ION does not depend on the developer portal for API publication or on subscription keys for caller security.

Declare diagnostic destinations, access, sampling, redaction, and retention as reproducible platform configuration. Notification destinations MUST be owned team channels. The deployed autoscale notification targets a personal mailbox (gap APIM-04).

Platform validation

For every environment, prove:

  • missing and invalid caller tokens are denied;
  • inactive customer tenants are denied;
  • a valid caller and operation role reaches the intended API policy;
  • a client-supplied X-Authorization does not reach the backend (fails until APIM-01 is fixed);
  • a request without a matching X-Azure-FDID is denied (fails until APIM-02 is fixed);
  • APIM can obtain the expected backend token;
  • the backend rejects anonymous and unapproved direct calls;
  • public and authenticated health operations have distinct behavior;
  • policy fragments do not emit credentials or prohibited payloads; and
  • scale and alert configuration target an owned operational channel.

On this page

  • Resource convention
  • Deployed tier and capacity
  • Provisioning sequence
  • Platform validation
PreviousAPIM Global Policy Implementation
NextAPIM Policy Authoring
Edit on GitHubSecurity