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. V3 Structural Design
  4. ION V3 Platform Views
  5. Internal API
  6. Internal API identity and access

Internal API identity and access

architecturev3

Internal API identity and access

The Internal API is a machine-to-machine API for Ontinue-owned workloads and internal teams. It is not a customer-facing or public API. This document records the identity and access behavior that is verifiable in the repository and calls out where reference intent differs from the checked-in APIM runtime policy.

For the surrounding design and operating guidance, see architecture, implementation, and the consumer guide. The governing decisions are ADR-0013: service-to-service authentication, ADR-0014: shared APIM, and ADR-0015: layered edge.

Trust boundaries and identity legs

Authentication has two distinct legs. APIM first authenticates and authorizes the internal caller. For operations that proxy to the platform backend, APIM then replaces the caller credential with a token acquired by the Internal API’s dedicated APIM user-assigned managed identity (UAMI).

LegPrincipal presentedToken audienceEnforcement evidenced in the repository
Caller to APIMOntinue workload identity, preferably a managed identityEnvironment-specific Internal API Entra appGlobal APIM JWT validation followed by operation-level app-role checks
APIM to backendDedicated id-apim-{env}-chn-inapi UAMIEnvironment-specific platform backend application ID in APIM-AZURE-AD-APPLICATION-IDOperation policy obtains a managed-identity token and overwrites both authorization headers

This implementation-specific token replacement differs from the general service-to-service flow described in ADR-0013 and ADR-0014, where a caller’s service token normally remains the backend identity. For the Internal API, the backend sees APIM’s dedicated UAMI as the authenticated principal, not the original workload.

Caller token acquisition

Consumers should request the environment-specific scope:

api://<client-id>/.default

The workload must already have an Internal API app role assignment. Entra emits assigned application permissions in the JWT roles claim; APIM does not infer roles from the workload’s Azure RBAC assignments.

Managed identity is the recommended credential because it avoids a workload secret. The reference consumer material also permits OAuth client credentials for a service principal. However, the Internal API Entra application definitions, client service-principal registrations, credentials, and app-role assignments are not defined in this repository. The availability and exact onboarding procedure for either caller type therefore cannot be independently verified here.

EnvironmentCodeInternal API Entra applicationClient ID
Alphaapaazsp-ontinue-rome-idm-ion-internal-api-apa-0145aacb32-7844-4894-9986-d5e78886a8da
Betabtaazsp-ontinue-rome-idm-ion-internal-api-bta-01470448ab-4f56-46f3-86d5-1d08f62a6048
Gammagmaazsp-ontinue-rome-idm-ion-internal-api-gma-01533c71b6-179d-4dd7-bdf5-20c1ef540e25
Productionprdazsp-ontinue-rome-idm-ion-internal-api-prd-0197f30357-df31-4707-b642-642983da854b

Environment separation matters: callers should not reuse a token minted for a different environment’s Internal API app.

APIM authentication and tenant handling

The checked-in global APIM policy performs these steps before operation policy:

  1. Require an Authorization header.
  2. Parse tid from the unverified token only to construct tenant-validation context. Absence of tid is rejected before cryptographic validation.
  3. Treat the Ontinue tenant (f0ee8740-91f2-48ba-a8e5-73d381b3aa8d) as trusted for the tenant allow-list step. For another tenant, query the configured tenant-validation endpoint and cache the active/inactive result; inactive tenants are rejected.
  4. Validate a signed bearer JWT through Entra OpenID configuration. The issuer list supports Entra v1 (https://sts.windows.net/{tenant-id}/) and v2 (https://login.microsoftonline.com/{tenant-id}/v2.0) forms.
  5. Require both roles and tid claims.
  6. Reject application tokens (idtyp=app) when tid is not the Ontinue tenant.

Consequently, Ontinue application tokens are the intended Internal API caller class, while non-Ontinue application tokens are explicitly denied. The global policy still contains customer-tenant handling because it is shared across APIM surfaces. Internal API callers should be Ontinue-tenant identities; successful customer-tenant validation does not make a customer workload an approved Internal API consumer.

Audience discrepancy and risk

The consumer contract says the caller token should target only the environment-specific Internal API app. The current global APIM runtime policy does not enforce that exclusivity. Its validate-jwt audience list contains the Internal API client ID alongside several portal, platform, workbench, and other application audiences for the environment.

Operation policies then authorize solely by matching strings in roles. Therefore, an Ontinue-tenant token for another audience accepted by the global policy could reach an Internal API operation if it contains a role string that matches that operation’s roles_csv. There is no checked-in Internal API-level policy that revalidates aud against only the Internal API client ID.

This is a material policy discrepancy and a privilege-boundary risk. The desired control is an API-level audience check for the environment-specific Internal API app, in addition to the global policy. Until that exists, app-role names must not be assumed to provide audience isolation by themselves.

Operation authorization

Each operation policy reads the already validated JWT from APIM context and compares its roles values with Terraform’s roles_csv. The check uses Any(...): possession of any configured role is sufficient. A missing roles claim is rejected globally; a present claim with no matching operation role is rejected by the operation policy.

Authorization sourcePurposeRuntime authority
Global APIM policyRequire a signed token, accepted issuer/audience, tid, and roles; apply tenant behaviorEnforced
Terraform roles_csv rendered into operation XMLDefine accepted app roles for one operationEnforced, any-of
OpenAPI BearerAuth scope arraysDescribe expected permissions to consumers and toolingDocumentation only

The OpenAPI permissions are not an APIM enforcement source and are currently inconsistent with runtime authorization for the consent-validation operation:

OperationOpenAPI documentsTerraform/APIM actually accepts
Consent validationIon.Platform.CustomerConfigurationData.Read or Ion.Platform.CustomerConfigurationData.ReadWriteIon.Internal.Customers.Read or Ion.Internal.Customers.Read.All

There is also a semantic hazard when multiple OpenAPI OAuth scopes appear in one security requirement: tooling can interpret them as all required, while the operation policy implements any-of. Consumer access reviews and tests must use the rendered roles_csv until the contract and runtime are reconciled.

Backend identity and request context

For proxied operations, APIM uses authentication-managed-identity with the UAMI client ID stored as APIM-INAPI-MSI-CLIENT-ID. The resource is the platform backend application ID stored as APIM-AZURE-AD-APPLICATION-ID. APIM then overrides both headers:

  • Authorization: Bearer <APIM-UAMI-platform-token>
  • X-Authorization: Bearer <APIM-UAMI-platform-token>

The caller token is not forwarded in either header. This limits backend trust to the platform audience and makes APIM’s dedicated UAMI the backend principal. The repository provisions one UAMI named id-apim-{env}-chn-inapi per environment and attaches the corresponding client ID to APIM through a named value.

Before those headers are replaced, the global policy overwrites X-Tenant-Id with tid from the validated caller JWT. The backend therefore receives two pieces of context with different origins:

Backend inputMeaningTrust condition
Authorization and X-AuthorizationAPIM’s dedicated Internal API UAMI authenticated for the platform backendBackend validates the platform audience and the UAMI’s required backend app role
X-Tenant-IdTenant of the original, APIM-validated callerTrust only when the request is known to have traversed APIM, which overwrites caller input

For the intended caller class, X-Tenant-Id is the Ontinue tenant. It is caller provenance context, not a customer selection or proof that the caller may access a specific customer’s data. Customer/resource authorization must come from the operation, backend domain rules, and requested resource. A backend directly reachable outside APIM must not trust a client-supplied X-Tenant-Id.

Responsibility matrix

Actor or componentResponsibilityMust not be assumed to do
Internal consumer ownerUse the correct environment, protect its identity, request /.default, and seek least-privilege app rolesSelf-assign roles or call the platform backend with the Internal API token
Entra administratorDefine Internal API apps and roles; assign approved workload identities; disable or revoke accessRely on repository Terraform for assignments that are not present here
Shared APIM global policyValidate bearer token signature, accepted issuer/audience, tenant behavior, tid, and presence of rolesExclusively bind the request to the Internal API audience today
Internal API operation policyEnforce operation roles_csv, route the request, and acquire the APIM UAMI backend tokenEnforce OpenAPI scopes automatically or preserve caller identity in backend JWT headers
APIM platform ownerProvision and attach id-apim-{env}-chn-inapi; manage named values and global policy safelyTreat the shared global policy as an API-specific audience boundary
Platform backendValidate the platform token and its role; enforce resource/domain authorization; treat tenant headers as contextInfer the original caller identity from APIM’s backend JWT or trust direct headers
API ownerKeep OpenAPI permissions, Terraform roles, policy behavior, and tests alignedPublish the Internal API as a public/customer integration contract

Denial behavior

ConditionObserved policy result
Missing Authorization, invalid/missing tid, inactive external tenant, missing roles, or non-Ontinue app token401 Unauthorized
Signature, issuer, audience, expiry, or bearer-token validation failureRejected by validate-jwt; no Internal API-specific override is defined
No operation role matches roles_csv403 Forbidden
Successful-call rate limit exceeded429 Too Many Requests from the API-level rate-limit policy
APIM cannot acquire the UAMI backend tokenRequest fails because ignore-error="false"; no operation-specific fallback is defined

Authentication and authorization failures are traced through shared APIM fragments. Authorization headers are excluded from traced request and response header metadata. Policies should avoid returning role inventories or other sensitive diagnostic detail to callers even though internal trace context may record the required and available roles.

Revocation and blast radius

Change or compromiseEffective behavior and blast radius
Remove a caller’s Internal API app-role assignment or disable its identityBlocks newly issued usable tokens; already issued JWTs can remain accepted until expiry because APIM validates JWTs rather than introspecting each request
Compromise one caller managed identityExposes the environments and operations represented by that identity’s current tokens and app roles; separate workload identities and least-privilege roles contain impact
Remove a backend app-role assignment from id-apim-{env}-chn-inapiDisrupts backend access for all proxied Internal API operations in that environment after token/cache expiry
Compromise the dedicated APIM UAMI pathCan affect every platform-backend operation available to that shared Internal API UAMI in one environment; environment-specific UAMIs limit cross-environment impact
Change the global audience/issuer policy incorrectlyCan admit or deny callers across multiple APIs on the shared APIM instance, not only the Internal API
Leak a client secret for a client-credentials consumerEnables use outside its original Azure workload until credential revocation; this is why managed identity is preferred

Revocation procedures should account for Entra token lifetime and APIM managed identity token caching. Emergency containment may require disabling the principal or credential, removing app-role assignments, and blocking the route while existing tokens expire.

Threats and mitigations

ThreatCurrent mitigationResidual risk or required action
Forged or modified caller JWTAPIM requires signed tokens and validates against Entra OpenID metadataPreserve fail-closed policy and monitor validation failures
Customer workload calls Internal API with an app tokenGlobal policy rejects non-Ontinue idtyp=app tokensInternal identities still require explicit least-privilege assignments
Wrong-audience Ontinue token reaches an operationGlobal accepted-audience list and operation role check provide partial controlsAdd Internal API-specific audience validation; current role-string matching is not sufficient isolation
Caller role escalationEntra app-role assignment plus per-operation roles_csvApp definitions and assignments are outside this repository and need independent governance/audit
Caller token reaches backendOperation policy overwrites Authorization and X-Authorization with the UAMI tokenEnsure every proxied operation follows the same replacement pattern
Spoofed tenant headerAPIM overwrites X-Tenant-Id from the validated caller tokenRestrict direct backend access; never use the header alone for customer authorization
Direct backend bypass of APIM controlsBackend is expected to require the platform audience and APIM UAMI roleNetwork exposure, backend authentication configuration, and the UAMI’s backend role assignment are not verified here
Over-broad APIM UAMIDedicated environment-specific UAMI separates this path from the primary APIM identityExact backend app-role grants are absent from the repository; verify they are least privilege in Entra
Contract-policy driftTerraform is the runtime role source and OpenAPI documents intentAdd automated comparison tests; fix the consent-operation mismatch
Shared gateway policy failureOne APIM per environment centralizes validation and telemetryStage and test global-policy changes because their blast radius spans APIs

Direct backend access assumptions

The architecture assumes consumers call the Internal API ingress and do not call Doppio/platform endpoints directly. Repository evidence shows that APIM targets the platform application audience and presents the dedicated UAMI. That supports an identity boundary, but it does not prove the backend is network-private or that it rejects every other platform principal.

A complete verification must establish all of the following in deployed Azure:

  • the backend’s accepted audience is the environment’s platform application;
  • the dedicated id-apim-{env}-chn-inapi service principal has only the required backend app roles;
  • direct network paths are private or otherwise constrained to approved ingress;
  • the backend validates both the platform token and required role rather than trusting APIM routing or X-Tenant-Id alone; and
  • no alternate public endpoint bypasses global and operation APIM policy.

Until verified, “backend access only through APIM” is an architectural assumption, not a repository-proven runtime invariant.

Evidence limits and follow-up verification

This document is based on checked-in global APIM policies, Internal API operation policies, Terraform, OpenAPI, and reference consumer material. It does not include live Azure inspection.

Known evidence gaps are:

  • Internal API Entra app registrations, exposed app-role definitions, and owners are not defined in the repository.
  • Consumer managed-identity/service-principal app-role assignments are not defined in the repository.
  • The dedicated APIM UAMI’s platform-backend app-role assignment is not defined in the repository.
  • Live APIM policy deployment, named-value resolution, Entra token claims, token lifetime, and managed-identity token caching were not verified.
  • Backend Easy Auth/application validation and direct network accessibility were not verified.
  • The repository does not prove that the four Internal API applications exist with the documented identifiers in every live environment.

Production assurance should combine repository review with Entra application and service-principal inspection, app-role assignment export, APIM effective-policy inspection, negative token tests for every audience and tenant class, and direct backend reachability/authentication tests.

On this page

  • Trust boundaries and identity legs
  • Caller token acquisition
  • APIM authentication and tenant handling
  • Audience discrepancy and risk
  • Operation authorization
  • Backend identity and request context
  • Responsibility matrix
  • Denial behavior
  • Revocation and blast radius
  • Threats and mitigations
  • Direct backend access assumptions
  • Evidence limits and follow-up verification
PreviousInternal API consumer guide
NextInternal API implementation
Edit on GitHubSecurity