Subscribe to the Non-Human & AI Identity Journal

Who should own revocation when a workload or integration is retired?

Ownership should sit with the team that depends on the workload, not only with the platform group that created the credential. Revocation needs a named owner, a dependency inventory, and proof that the credential is invalid in every place it was used.

Why This Matters for Security Teams

Retirement is where many machine identity failures become visible. When a workload, integration, or agent is decommissioned, the credential rarely disappears everywhere it was trusted. That leaves dormant access paths in pipelines, secrets stores, service meshes, partner integrations, and fallback automation. Current guidance suggests revocation must be treated as an ownership problem, not just a technical cleanup task. The team that depends on the workload is usually best placed to confirm what must be removed and what breakage is acceptable.

This is especially important because machine identity sprawl makes manual cleanup unreliable. The Ultimate Guide to NHIs notes that only 20% of organisations have formal offboarding and revocation processes for API keys, and Critical Gaps in Machine Identity Management reports that 59% face greater difficulty auditing machine identities because of unclear ownership and limited visibility. In practice, many security teams encounter stale credentials only after an outage, an audit finding, or a post-incident review, rather than through intentional decommissioning.

How It Works in Practice

Revocation ownership should be assigned at the point of operational dependency. Platform teams can execute the technical removal, but the business or application owner should approve the retirement, confirm downstream dependencies, and sign off on acceptable disruption. That split matters because the team that created a credential often does not know every system that reused it. A dependency inventory is the practical control here: list the workload, every consumer, every secret location, every certificate chain, and every fallback path before revocation starts.

For mature environments, revocation should be a workflow with evidence, not a one-time ticket. A typical pattern looks like this:

  • Identify the workload or integration owner and the dependent service owner.
  • Inventory all places the credential exists, including code, vaults, CI/CD, and partner systems.
  • Disable or rotate the credential with a short validation window.
  • Verify failure of the old credential across every known consumer.
  • Record proof of invalidation, then close the retirement change.

For agents and automated workloads, the same logic applies, but the mechanics often shift toward workload identity and short-lived credentials. The SPIFFE workload identity specification is relevant because it defines cryptographic workload identity rather than relying on static secrets alone. The Guide to SPIFFE and SPIRE is useful for understanding how ephemeral identity reduces the blast radius of retirement events. These controls tend to break down when the credential is embedded in third-party automation that the retiring team cannot inspect or revoke directly.

Common Variations and Edge Cases

Tighter revocation control often increases coordination overhead, requiring organisations to balance shutdown speed against dependency risk. That tradeoff is real in shared platforms, vendor-managed integrations, and legacy systems where one credential serves multiple consumers. Best practice is evolving, but there is no universal standard for this yet: some organisations assign revocation authority to the application owner, while others require joint approval from the workload owner and platform security.

The hardest edge case is indirect reuse. A certificate or API key may be copied into automation scripts, mirrored into a partner environment, or cached by an agent that retries failed calls long after the source workload is retired. In those cases, technical revocation alone is not enough; the owner must prove the credential is invalid in every trusted location. For teams building toward stronger governance, the Ultimate Guide to NHIs — Standards is a useful reference point for aligning lifecycle and offboarding practices with broader control expectations.

Where service continuity depends on shared secrets or tightly coupled integrations, revocation often needs a staged cutover rather than immediate shutdown, because one broken consumer can take down unrelated workloads.

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 SP 800-63 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-08 Covers offboarding and revocation of non-human identities at retirement.
NIST CSF 2.0 PR.AC-1 Access lifecycle control applies to removing retired workload access.
NIST SP 800-63 Digital identity lifecycle guidance supports invalidating credentials after retirement.

Assign a named owner for NHI retirement and verify revocation across every consuming system.