Subscribe to the Non-Human & AI Identity Journal
Home Glossary NHI Lifecycle Management Lifecycle Decommissioning
NHI Lifecycle Management

Lifecycle Decommissioning

← Back to Glossary
By NHI Mgmt Group Updated June 6, 2026 Domain: NHI Lifecycle Management

Lifecycle decommissioning is the controlled removal of an identity when its purpose ends or its trust context changes. For non-human identities, this includes revoking keys, retiring certificates, and removing downstream dependencies that still accept the old credential. Without it, stale trust persists as hidden risk.

Expanded Definition

Lifecycle decommissioning is the final control point in NHI governance: the identity is not merely disabled, but fully retired so that trust does not survive its purpose. For service accounts, API keys, certificates, and automation tokens, that means revocation, rotation where needed, dependency removal, audit closure, and confirmation that no workflow still accepts the old credential. In practice, lifecycle decommissioning belongs beside onboarding, rotation, and access review in the NHI Lifecycle Management Guide and the OWASP Non-Human Identity Top 10, where abandoned trust paths are treated as a core security issue.

Definitions vary across vendors on whether decommissioning ends at credential revocation or also requires downstream cleanup, but in NHI operations the stronger interpretation is usually the right one. If a certificate is revoked but a pipeline, secret store, or legacy integration still trusts the old value, the identity remains partially alive. The most common misapplication is treating deactivation as decommissioning, which occurs when teams disable the account but leave keys, tokens, certificates, or linked permissions active in adjacent systems.

Examples and Use Cases

Implementing lifecycle decommissioning rigorously often introduces coordination overhead, requiring organisations to balance clean retirement against service continuity and change-control risk.

When organisations distinguish between “offboarded” and “fully removed,” they reduce the chance that a forgotten credential becomes an undeclared backdoor.

Why It Matters in NHI Security

Lifecycle decommissioning matters because stale NHI trust is hard to see and easy to exploit. NHIs often outlive the humans, services, and projects that created them, so unresolved offboarding becomes a long-tail exposure problem rather than a one-time admin task. NHI Mgmt Group research shows that 91% of former employee tokens remain active after offboarding, a stark sign that decommissioning failures are not edge cases. That risk compounds with broader control gaps: 96% of organisations store secrets outside secrets managers, and 71% of NHIs are not rotated within recommended time frames, so retired identities can remain reachable in multiple places at once.

Handled well, lifecycle decommissioning supports least privilege, secret hygiene, and Zero Trust by ensuring that trust ends when purpose ends. It also reduces audit noise, incident ambiguity, and recovery time after compromise. In operational terms, this is where Ultimate Guide to NHIs — Static vs Dynamic Secrets becomes relevant, because static secrets are harder to retire cleanly and easier to leave behind. Organisations typically encounter the cost of poor decommissioning only after a breach, migration, or offboarding review, at which point lifecycle decommissioning 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
OWASP Non-Human Identity Top 10NHI-02Covers secret sprawl and abandoned NHI trust paths that decommissioning must eliminate.
NIST CSF 2.0PR.AC-4Least-privilege access management requires timely removal of dormant identity access.
NIST Zero Trust (SP 800-207)Zero Trust requires continuous trust evaluation, including ending trust when an identity is no longer valid.

Retire NHI credentials, remove residual trust, and verify no downstream system still accepts the old identity.

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