Subscribe to the Non-Human & AI Identity Journal
Home Glossary Governance, Ownership & Risk Session revocation
Governance, Ownership & Risk

Session revocation

← Back to Glossary
By NHI Mgmt Group Updated June 6, 2026 Domain: Governance, Ownership & Risk

The ability to invalidate active sessions so access ends immediately instead of waiting for tokens or browser state to expire. For identity governance, this is the control that determines whether authentication still matters after a compromise is detected.

Expanded Definition

Session revocation is the operational control that stops an authenticated session from remaining usable after trust has been withdrawn. In NHI and IAM practice, that means invalidating browser sessions, refresh tokens, device-bound sessions, and API-backed session state so access ends immediately instead of waiting for expiry. The concept is closely related to token revocation, but it is broader because some systems maintain session state outside the token itself. Definitions vary across vendors, and no single standard governs this yet; implementation depends on whether the application uses cookies, OAuth tokens, federated identity, or an API gateway. For that reason, practitioners should treat revocation as a control plane capability, not just a logout function. NIST’s NIST Cybersecurity Framework 2.0 frames this kind of action under access control and incident response outcomes, while NHI programs map it to offboarding and compromise containment. The most common misapplication is assuming a token lifetime alone provides revocation, which occurs when the application does not check a revocation list or session registry on each request.

Examples and Use Cases

Implementing session revocation rigorously often introduces latency and state-management overhead, requiring organisations to weigh immediate containment against higher infrastructure and integration cost.

  • A service account key is exposed in a CI/CD log, so the associated API sessions are revoked immediately while the secret is rotated and downstream trust chains are rebuilt.
  • An AI agent with tool access begins making unauthorised actions, and its session is invalidated before the next function call to prevent further execution.
  • A privileged administrator device is suspected of compromise, so PAM sessions and browser cookies are cut off while the incident is triaged.
  • A federated SaaS login is terminated after employee offboarding, and the identity provider pushes revocation through the relying applications rather than waiting for natural token expiry.

For NHI programmes, this is especially relevant because the Ultimate Guide to NHIs shows how often long-lived identities and secrets remain active after a risk event. In practice, the same revocation logic should be paired with Zero Trust checks described in the NIST Cybersecurity Framework 2.0, especially where a session may outlive the original authentication moment.

Why It Matters in NHI Security

Session revocation matters because compromise is often discovered after access has already been used. If an identity team can only rotate a secret but cannot invalidate the active session, the attacker may keep operating until the token or browser state expires. That gap becomes acute in environments with service accounts, automation, and AI agents because these identities are expected to act continuously. The NHI risk profile is not theoretical: NHI Mgmt Group reports that Ultimate Guide to NHIs finds 91.6% of secrets remain valid five days after notification, underscoring how weak remediation can be when revocation is missing or incomplete. In Zero Trust Architecture, a session should never be treated as permanently trusted, and the NIST Cybersecurity Framework 2.0 supports this by emphasizing ongoing risk response and access management. Organisations typically encounter the need for session revocation only after a credential leak, suspicious agent behaviour, or privileged misuse, at which point it 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 Zero Trust (SP 800-207) and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST Zero Trust (SP 800-207)5.2Zero Trust requires continuous re-evaluation and termination of trust when risk changes.
NIST CSF 2.0PR.AC-3Access enforcement includes revoking sessions when authorisation is no longer valid.
OWASP Non-Human Identity Top 10NHI-06NHI lifecycle controls require terminating active access when secrets or identities are compromised.

Ensure non-human sessions can be invalidated as part of offboarding, compromise response, and rotation.

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