Subscribe to the Non-Human & AI Identity Journal

Federated Identity

Federated identity lets one organisation trust an external identity provider so a user can access another service without creating a separate account. It simplifies access, but it also expands the trust relationship that must be monitored. Weak federation settings can turn a single compromise into cross-domain access.

Expanded Definition

Federated identity is a trust model in which an organisation accepts authentication assertions from an external identity provider and grants access to its own applications without issuing a separate local account. In practice, that means one login can span multiple domains, but the security boundary shifts from password handling to assertion validation, policy enforcement, and trust-chain integrity.

Definitions vary across vendors because some products use federated identity to describe workforce single sign-on, while others extend it to partner access, customer identity, or machine-to-machine access. For NHI governance, the important point is that federation often becomes the control plane through which service identities, AI agents, and third-party tools inherit access. That makes it a core dependency in Zero Trust Architecture, as reflected in the NIST Cybersecurity Framework 2.0 and related identity guidance.

The most common misapplication is treating federation as a one-time integration task, which occurs when teams trust an identity provider indefinitely without continuously validating claims, session lifetimes, and revocation paths.

Examples and Use Cases

Implementing federated identity rigorously often introduces operational dependency on the external provider, requiring organisations to weigh simpler user experience against concentration of trust and outage risk.

  • A workforce portal uses SAML or OIDC so employees authenticate through a corporate IdP, reducing local password sprawl but requiring strong assertion signing and audience checks.
  • A partner API accepts tokens issued by a shared federation service, which simplifies onboarding yet demands tight scoping, token expiry, and audience restriction.
  • An AI agent accesses internal tools through a federated workload identity rather than a hard-coded secret, helping reduce long-lived credentials while increasing the need for claim-based authorization.
  • A SaaS platform trusts an enterprise IdP for customer access, but the security team still has to manage step-up authentication, deprovisioning delays, and logout behavior.
  • A research environment uses federation to grant temporary access to contractors, aligning with lessons from the 52 NHI Breaches Analysis when identity assumptions were too broad or poorly monitored.

For implementation detail, the trust model should be designed alongside issuer validation and policy enforcement patterns described in the NIST Cybersecurity Framework 2.0 and the operational guidance in Ultimate Guide to NHIs.

Why It Matters in NHI Security

Federated identity matters because it can turn one compromised trust relationship into broad cross-domain access. When the issuer, signing keys, claim mapping, or session controls are weak, attackers do not need to break every target system individually. They only need to exploit the place where trust is concentrated. That is especially important for NHIs, where service accounts, automation, and AI agents often inherit access through shared identity infrastructure rather than direct user onboarding.

This is not theoretical. NHIMG research shows that Ultimate Guide to NHIs reports that 80% of identity breaches involved compromised non-human identities such as service accounts and API keys. In a federated environment, those identities may be the first to inherit excessive standing access if claims are mapped too loosely or revocation is delayed. The same governance problems show up in breach patterns discussed in Cisco DevHub NHI breach, where trust and exposure combine into a wider blast radius.

Organisations typically encounter the full impact only after a token leak, issuer compromise, or failed offboarding event, at which point federated identity becomes operationally unavoidable to investigate and contain.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST Zero Trust (SP 800-207) and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST Zero Trust (SP 800-207) PDP/PEP alignment Federation is a trust boundary that must be continuously evaluated under Zero Trust.
NIST CSF 2.0 PR.AC-1 Federated access depends on managing identities and authenticator issuance across domains.
OWASP Non-Human Identity Top 10 NHI-01 Federated identities can hide overbroad trust and weak lifecycle controls for machine identities.

Treat federated service access as an NHI control and enforce least privilege, expiry, and revocation.