Agentic AI Module Added To NHI Training Course
Authentication, Authorisation & Trust

SAML

← Back to Glossary
By NHI Mgmt Group Updated May 28, 2026 Domain: Authentication, Authorisation & Trust

Security Assertion Markup Language is an XML-based federation protocol used to pass signed identity assertions between an identity provider and a relying party. It remains common in enterprise SSO, but its certificate-driven trust model can make configuration and rotation more operationally demanding.

Expanded Definition

SAML is a federation protocol that lets an identity provider issue a signed assertion about an authenticated subject to a relying party. In enterprise IAM, it is most often used to centralise login for workforce applications, reduce password reuse, and propagate identity context across domains. The protocol is defined through XML schemas and signature processing rules, so implementation quality depends heavily on certificate management, metadata exchange, and assertion validation. The NIST Cybersecurity Framework 2.0 is useful here because SAML deployments sit at the intersection of identity assurance, access control, and recovery discipline. Definitions vary across vendors when SAML is extended beyond workforce SSO into service integrations, and no single standard governs every operational pattern. In NHI environments, the important distinction is that SAML assertions are identity claims, not secrets, but the signing certificates and federation metadata that secure them are governance objects that must be rotated, protected, and monitored. The most common misapplication is treating SAML as a one-time setup task, which occurs when certificate expiry, clock skew, or metadata drift is not continuously managed.

Examples and Use Cases

Implementing SAML rigorously often introduces operational overhead in certificate lifecycle management, requiring organisations to weigh smoother SSO against the cost of federation maintenance and outage risk.

  • Employee SSO for cloud applications, where the identity provider authenticates the user and issues a signed assertion to each service provider.
  • Partner access to a B2B portal, where federation avoids local account sprawl while preserving a defined trust boundary.
  • Admin access to internal tools, where SAML is paired with MFA and role mapping to reduce password exposure and support NIST Cybersecurity Framework 2.0 alignment.
  • Incident-driven investigation of federation failures, such as the trust and access issues discussed in the Hugging Face Spaces breach, where identity plumbing becomes part of the response path.
  • Legacy enterprise integrations that still require XML-based federation, especially when modern OIDC adoption is incomplete or not feasible.

In practice, SAML remains common because it integrates with mature enterprise directories, but it is not a universal answer for every application type. For high-assurance deployments, teams typically validate signatures, lock down ACS endpoints, and keep certificate rotation on a documented schedule. The same control logic also appears in Hugging Face Spaces breach analysis, where identity trust decisions had operational consequences beyond simple login.

Why It Matters in NHI Security

SAML matters because federation failures can turn a single identity trust decision into broad application exposure. When SAML metadata, signing keys, or assertion validation are mismanaged, attackers can impersonate users, bypass intended access controls, or exploit stale trust relationships that survive far longer than expected. This becomes especially relevant when SAML is used to connect human access with NHI-adjacent automation, such as admin consoles, CI/CD portals, or SaaS platforms that also host service accounts and secrets. NHI Mgmt Group research shows that Hugging Face Spaces breach and related incidents often reveal that identity-layer weaknesses become visible only after compromise, not during normal operations. The same operational discipline also supports NIST Cybersecurity Framework 2.0 outcomes around access control and continuous monitoring. In NHI programmes, one relevant metric is that 71% of NHIs are not rotated within recommended time frames, underscoring how weak lifecycle governance often coexists with weak federation hygiene. Organisations typically encounter SAML misconfiguration only after a login outage or suspicious access event, at which point federation recovery becomes operationally unavoidable to address.

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 CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0PR.AA-01Identity proofing and authentication outcomes cover federation trust and assertion handling.
NIST Zero Trust (SP 800-207)SC-11Zero Trust relies on continuously verified identity context rather than static trust in sessions.
OWASP Non-Human Identity Top 10NHI-03Federation misconfiguration and trust drift align with non-human identity access control weaknesses.

Validate SAML trust chains, assertion integrity, and login assurance as part of access control governance.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on May 28, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org