ION DocsV2
  • 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 V2
  3. V2 Well-Architected
  4. V2 Security
  5. V2 Identity
  6. V2 Identity Standard

V2 Identity Standard

security
VersionV2V3
architecturev2

V2 Identity Standard

This page is the single normative identity standard for ION V2. The terms MUST, MUST NOT, and SHOULD are requirements as defined by RFC 2119. An implementation that does not meet a MUST or MUST NOT is non-compliant and requires remediation; another identity document cannot weaken these requirements.

Trust boundaries

  1. Microsoft Entra ID MUST authenticate ION users and Azure workloads.
  2. Authentication MUST NOT be treated as authorization. Every request MUST be authorized for its caller, tenant, resource, and operation.
  3. Internal Alya identities, customer Portal identities, workload identities, Azure-resource permissions, customer-environment permissions, and Teams membership MUST remain separate trust and authorization boundaries.
  4. Application registrations MUST be separated by environment. Production registrations and permissions MUST NOT be shared with non-production environments.
  5. A browser application and the API or BFF it calls MUST use separate application registrations when they expose different audiences or permissions.
  6. Redirect URIs and application ID URIs MUST be explicit, HTTPS except for approved local development, owned, and free of wildcards.
  7. Browser clients MUST NOT contain or persist a client secret, certificate private key, workload credential, or other application credential. Public clients MUST use Authorization Code with PKCE and MUST NOT use implicit flow.

User-token termination

  1. Portal and Alya user tokens MUST terminate at their BFF. APIM MUST validate the inbound token before routing it to the BFF, and the BFF MUST be the final application boundary that consumes it.
  2. A Portal or Alya user token MUST NOT be forwarded by the BFF or APIM to a domain service, another microservice, queue, topic, event, storage service, database, telemetry system, Azure management endpoint, Azure data-plane endpoint, or Microsoft Graph.
  3. A BFF calling a downstream API or Azure resource MUST obtain a new workload token with its managed identity for the exact target audience. It MUST NOT use an on-behalf-of exchange to propagate the user token downstream.
  4. User and customer context needed downstream MUST be represented as validated, minimal application data. It MUST NOT include the original token or authorization header, and downstream services MUST NOT trust that context without authenticating the workload caller and enforcing resource and business authorization.
  5. Bearer tokens, authorization headers, refresh tokens, authorization codes, client assertions, secrets, and private keys MUST NOT be logged, traced, placed in exception text, or included in support artifacts. Token-derived telemetry SHOULD be limited to non-sensitive identifiers required for investigation, such as tenant, application, subject pseudonym, route, decision, and correlation ID.

Token validation and authorization

  1. APIM MUST validate token-based ingress before routing it. For each route it MUST validate the expected token type, signature, issuer, validity time (nbf and exp), audience, caller identity, and required role or delegated scope.
  2. For a multi-tenant user token, APIM and the BFF MUST each validate the signature, issuer-to-tenant binding, validity time, audience, authorized caller, required role or delegated scope, and active membership of the token tenant in the authoritative onboarded-tenant allowlist. A syntactically valid tenant ID or successful customer consent is not sufficient.
  3. Caller validation MUST verify the authorized client application or workload identity, using the appropriate azp, appid, object, or subject claim for the token version and flow. It MUST NOT accept any caller solely because the audience is valid.
  4. Application-only calls MUST require an application role. User-delegated calls MUST require the delegated scope or user role defined by the route. roles and scp MUST NOT be treated as interchangeable.
  5. The Portal or Alya BFF MUST revalidate the user token and MUST authorize user, customer, and tenant context before acting or creating downstream application context.
  6. Domain services MUST authenticate the calling workload and MUST enforce resource ownership, customer isolation, operation permission, and business rules. APIM or BFF approval MUST NOT replace domain authorization.
  7. Authorization failures MUST fail closed and MUST NOT disclose token-validation internals or customer data.
  8. Teams or channel membership MUST NOT substitute for ION API authorization, Azure RBAC, or customer-environment authorization.

Azure workload identity

  1. Every workload running on Azure MUST use a managed identity for service-to-service authentication and access to Azure control-plane or data-plane resources.
  2. An Azure workload MUST NOT use a client secret or certificate credential as an alternative or fallback to managed identity.
  3. Either a system-assigned managed identity (SAMI) or a user-assigned managed identity (UAMI) satisfies the mandatory managed-identity requirement.
  4. A SAMI SHOULD be used when one Azure resource owns the workload identity and the identity should be created and deleted with that resource.
  5. A UAMI SHOULD be used when the identity and its assignments must survive resource replacement, must be pre-authorized, or must attach to multiple resources that implement the same workload.
  6. The V2 service architecture MUST use one UAMI per microservice where stable identity lifecycle is required. That UAMI MUST NOT be shared by unrelated microservices.
  7. Managed identity token acquisition MUST request the exact target API or Azure-resource audience. Tokens MUST NOT be reused across audiences.
  8. API application roles and Azure RBAC MUST be assigned independently at the smallest practical scope. Broad subscription, resource-group, or catch-all application roles MUST NOT be used when a narrower assignment meets the operation.
  9. A workload identity MUST NOT receive delegated user scopes.

Applications, roles, scopes, and RBAC

  1. Each application registration, enterprise application, managed identity, role definition, app-role assignment, delegated scope, consent grant, Azure RBAC assignment, and exceptional credential MUST have an accountable owning team.
  2. Identity configuration MUST be declared in version-controlled automation. Production portal changes MUST NOT be the system of record. An emergency portal change MUST be reviewed and reconciled into automation before the incident or change record closes.
  3. Application roles MUST use the canonical Ion.<Resource>.<Operation>[.<Constraint>] vocabulary. The optional constraint MUST represent a stable authorization distinction that cannot be enforced solely from customer or resource context. Names MUST describe a stable business capability rather than a caller, environment, implementation, or temporary project.
  4. Allowed member types MUST match the intended principal: applications for workload access; users/groups for interactive assignment; both only when the same semantic permission is valid and enforced for both.
  5. Role evolution MUST be additive. A published role value or semantic meaning MUST NOT be repurposed. Removal MUST follow usage discovery, migration, validation, and revocation.
  6. ReadWrite MUST NOT be assumed to grant delete, administration, consent, or role management unless those operations are explicitly defined in the API contract.
  7. Permission grants MUST be least privilege and MUST have a documented justification, approval, review interval, and revocation procedure.
  8. Every identity, role catalogue, consent, app-role assignment, and Azure RBAC assignment MUST be inventoried and periodically reviewed. Stale, unused, orphaned, excessive, or expired access MUST be revoked.

Customer tenancy and onboarding

  1. Customer access MUST be activated through a controlled onboarding record that binds the customer, tenant, approved applications, consent state, roles, Teams shared-channel relationship, enabled capabilities, owner, and review date.
  2. Multi-tenant applications MUST accept only onboarded, active customer tenants. Open-ended acceptance of any Entra tenant MUST NOT grant product access.
  3. Customer administrator consent MUST be verified for the intended tenant and permission set. Consent MUST NOT replace tenant allowlisting or user and resource authorization.
  4. Teams B2B Direct Connect and shared-channel relationships MUST be verified before Teams-based customer access is activated. Teams membership MUST remain distinct from API roles.
  5. Customer offboarding MUST disable the allowlist entry first, then revoke consent, application assignments, Teams relationships, customer-environment permissions, and residual sessions or caches.
  6. Customer security-resource access MUST also comply with Customer Environment Access.

Lifecycle, evidence, and incidents

  1. Identity changes MUST include positive and negative authorization tests before production activation.
  2. Every identity or permission change MUST retain evidence of request, owner, approval, declarative change, deployment result, positive test, negative test, and rollback or revocation result.
  3. Owners MUST monitor failed authentication, failed authorization, consent, app-role assignment, RBAC assignment, managed-identity, and credential events without recording tokens.
  4. Reviews MUST confirm continued owner, purpose, caller, tenant, audience, permission, resource scope, usage, and revocation readiness.
  5. Suspected token or credential exposure MUST trigger immediate containment, revocation where possible, assignment review, log-preserving investigation, and validation that old access fails.
  6. Credentials required by an exceptional non-Azure integration MUST be security-approved, stored in the approved secret manager, assigned an owner and expiry, rotated, monitored, and revoked at retirement. This exception MUST NOT be applied to an Azure workload.

V2 exclusions

The following MUST NOT be represented as V2 identity mechanisms:

  • federated identity credentials (FIC) or workload identity federation;
  • hollow customer applications or FIC-based customer Azure RBAC;
  • GDAP;
  • the V3 embedded Portal Tab identity model; or
  • V3 role-owner applications or BFF-per-MFE identity patterns.

Implementation

Use the actionable V2 identity implementation guide and its links to identity architecture, identity workflows, and Customer Environment Access.

On this page

  • Trust boundaries
  • User-token termination
  • Token validation and authorization
  • Azure workload identity
  • Applications, roles, scopes, and RBAC
  • Customer tenancy and onboarding
  • Lifecycle, evidence, and incidents
  • V2 exclusions
  • Implementation
PreviousMicrosoft Entra ID
NextV2 Identity Implementation
Edit on GitHubSecurity