Subscribe to the Non-Human & AI Identity Journal

How should organisations govern identity lifecycle changes across users and non-human accounts?

They should use the same governance discipline for both, but with actor-specific execution. Joiner, mover, and leaver events should trigger authoritative provisioning and revocation, while service accounts and tokens should be tied to workload ownership and expiry. The goal is to prevent access from outliving the business need that created it.

Why This Matters for Security Teams

Identity lifecycle governance is only effective when it covers both people and machine actors, because the risk is created by access that remains valid after the business reason for it has ended. Human joiner, mover, and leaver events are visible in HR workflows; non-human accounts often are not. That gap is why service accounts, API keys, and tokens so often persist through project changes, team transfers, and decommissioned systems.

Current guidance from NIST Cybersecurity Framework 2.0 and the OWASP Non-Human Identity Top 10 points toward a shared governance model with different execution paths: one for human identity changes, another for workload ownership, secret rotation, and revocation. NHIMG research shows how serious the drift can become, with the Ultimate Guide to NHIs highlighting that NHIs outnumber human identities by 25x to 50x in modern enterprises, which turns lifecycle mistakes into a scale problem rather than an edge case.

In practice, many security teams encounter expired business need only after a stale account or token has already been reused, not through deliberate lifecycle control.

How It Works in Practice

Effective governance starts by treating identity lifecycle events as authoritative triggers. For people, that means joiner, mover, and leaver events should flow from HR or the identity source of record into provisioning and deprovisioning workflows. For NHIs, the trigger is different: ownership change, application retirement, environment migration, certificate expiry, or token issuance expiry should drive the same kind of control, but against workload identities and secrets rather than employee records.

The operational pattern is straightforward:

  • Bind every service account, API key, certificate, or token to a named workload owner and business purpose.
  • Set expiry by default, with short TTLs where the workload can support them.
  • Rotate or revoke on ownership change, code deployment, incident response, or decommissioning.
  • Continuously reconcile what exists against what should exist, then remove orphaned or duplicated credentials.

That approach aligns with the lifecycle emphasis in NHIMG’s NHI Lifecycle Management Guide and the Lifecycle Processes for Managing NHIs section, which frame offboarding and rotation as core controls rather than optional hygiene. The same logic applies in standards terms: CSF 2.0 supports governance and access control discipline, while OWASP NHI guidance emphasizes limiting credential lifetime and ensuring offboarding actually removes access. Where possible, integrate identity workflows with CMDB, CI/CD, PAM, and secrets management so that revocation is automatic, not manual.

These controls tend to break down in environments with shared service accounts, hard-coded credentials in legacy applications, or multiple application owners for one token because attribution and revocation become ambiguous.

Common Variations and Edge Cases

Tighter lifecycle control often increases operational overhead, so organisations have to balance security with deployment speed, legacy compatibility, and ownership clarity. That tradeoff is especially visible when a single automation account supports multiple pipelines, or when an application cannot tolerate short-lived credentials without refactoring.

Best practice is evolving, but current guidance suggests avoiding permanent exceptions. If a shared NHI cannot yet be eliminated, it should at minimum have explicit ownership, scoped permissions, mandatory rotation, and compensating monitoring. The same applies to long-lived certificates: if they cannot be made ephemeral, they need a documented renewal path and a tested revocation process.

One useful rule is to govern by business event rather than by account type alone. A user transfer may require removing access from one system and adding it to another; a workload migration may require reissuing certificates, reattesting the runtime, and invalidating old tokens. NHIMG’s Guide to the Secret Sprawl Challenge is a useful reminder that lifecycle failure is often a distribution problem as much as a permissions problem. Organisations with low visibility into service accounts or secrets stored outside managed vaults should prioritise discovery before enforcement, because you cannot revoke what you cannot find.

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 and CSA MAESTRO address the attack and risk surface, while NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-04 Lifecycle control is central to revoking stale non-human access.
NIST CSF 2.0 PR.AC-1 Addresses access provisioning and removal across people and workloads.
CSA MAESTRO IC-3 Governance of agent and workload identities depends on defined ownership and lifecycle.

Assign each workload identity a clear owner and enforce lifecycle controls at change and offboarding.