Subscribe to the Non-Human & AI Identity Journal

How should teams prevent lingering access during employee offboarding?

Teams should tie offboarding to authoritative HR signals, inventory every application and entitlement the departing user can reach, and route each access decision to a named reviewer. Automated certification helps, but only if ownership is clear and revocation is executed against a complete access view. The goal is verified closure, not just workflow completion.

Why This Matters for Security Teams

Offboarding is a control failure when access removal depends on memory, ticket closure, or a single system of record. Former employees often retain access in SaaS tools, CI/CD systems, cloud consoles, and secret stores because entitlement paths are fragmented and ownership is unclear. That creates a post-exit window where credentials, tokens, and delegated access can still be used.

NHIMG research shows how serious the gap can be: in The 2025 State of NHIs and Secrets in Cybersecurity, Entro Security reports that 91% of former employee tokens remain active after offboarding. That is not a workflow inconvenience; it is a revocation problem that can become unauthorized access, data exfiltration, or hidden persistence if reviewer ownership is vague. Current guidance also aligns with the OWASP Non-Human Identity Top 10, which treats lifecycle and secret hygiene as core risks rather than administrative afterthoughts.

In practice, many security teams encounter lingering access only after an incident review or an audit exception has already exposed the gap.

How It Works in Practice

Effective offboarding starts with an authoritative trigger, usually HR, and then fans out into a complete access inventory. That inventory should include human entitlements and every downstream secret or delegated credential the user could reach, because offboarding fails when teams revoke the obvious account but miss the API key, refresh token, SSH key, or cloud role attached to it. The operating model should route each revocation decision to a named reviewer who can confirm ownership and business need, then verify closure in the target system rather than assuming the ticket is enough.

For NHI-related access, the best practice is evolving toward short-lived, task-bound credentials and workload-aware controls. That means reducing dependence on static long-lived secrets and using just-in-time revocation where the system can expire tokens, session grants, or service access immediately when employment status changes. The NHI Lifecycle Management Guide and the Ultimate Guide to NHIs — Lifecycle Processes for Managing NHIs both emphasise that lifecycle closure must cover issuance, rotation, revocation, and validation, not just account disablement.

  • Sync offboarding from HR as the source of truth, then pause termination until identity and access checks are complete.
  • Query every app, vault, pipeline, and cloud role the user touched, including inherited and shared access.
  • Revoke credentials at the control point, then verify the revocation in the destination system.
  • Require a named approver for exceptions, and expire any temporary extension automatically.

These controls tend to break down in heavily federated environments where shadow IT, unmanaged secrets, or shared service accounts make the complete access graph impossible to reconstruct quickly.

Common Variations and Edge Cases

Tighter offboarding control often increases operational overhead, requiring organisations to balance rapid employee exits against the cost of exhaustive entitlement discovery. That tradeoff is real in mergers, rapid layoffs, contractor-heavy environments, and teams that rely on shared infrastructure accounts. Current guidance suggests the safest path is to treat those cases as higher risk, not as justification for weaker review.

Where organisations still use shared service accounts, long-lived tokens, or manually maintained exception lists, revocation can be delayed because one person does not own the full chain of access. In those cases, the right fix is usually better inventory and credential segmentation, not more approval layers. The Top 10 NHI Issues highlights why duplicate secrets, excessive privileges, and weak lifecycle governance keep producing the same outcome: access lingers after the employee is gone.

The cleanest offboarding programs also distinguish between human account closure and NHI revocation. A person can leave while their tokens, automation keys, and delegated roles remain active in workflows, which is why a single disabled directory account is not proof of closure. Best practice is evolving, but the operational objective is stable: eliminate reachable access, confirm revocation, and keep an auditable record of who validated each step.

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 AI RMF set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-03 Offboarding depends on revoking NHI credentials and eliminating lingering secrets.
NIST CSF 2.0 PR.AC-4 Least-privilege access removal is central to preventing post-employment access.
NIST AI RMF GOVERN Governance requires accountable ownership for lifecycle actions and exception handling.

Inventory all NHI credentials at exit and revoke every token, key, and certificate before closure.