Join our Newsletter — 33% off our NHI Course

Who is accountable when long-lived credentials are left active after a system or workflow changes?

Accountability should sit with the system owner, the identity or security team that governs access, and the operational team that uses the credential. Organisations need clear ownership for issuance, review, rotation, and revocation. Without that split of responsibility, dormant credentials can remain valid and become an avoidable source of unauthorized access.

Why This Matters for Security Teams

Long-lived credentials are not just an access hygiene problem. When a system or workflow changes, the old secret can keep working even though the original business purpose no longer exists. That creates a control gap between ownership, usage, and revocation, which is exactly how dormant access turns into unauthorized access. NHI Management Group’s research on secret sprawl shows why this matters operationally: the problem is usually not one missed rotation, but a pattern of weak lifecycle discipline across teams and environments, as discussed in the Guide to the Secret Sprawl Challenge.

This is also why standards bodies emphasise lifecycle control rather than one-time issuance. The NIST SP 800-53 Rev 5 Security and Privacy Controls treats access control and credential management as ongoing responsibilities, not “set and forget” tasks. The practical issue is that ownership often fragments during platform migrations, decommissioning, CI/CD refactors, or vendor changes. In practice, many security teams only discover lingering access after a workflow has already been replaced and the old credential has already been abused.

How It Works in Practice

Accountability should be assigned across three functions, even if one team owns the final decision. The system owner is accountable for declaring when a credential is still needed. The identity or security team is accountable for policy, review cadence, and revocation mechanics. The operational team is accountable for notifying change events, validating dependencies, and removing embedded secrets from code, pipelines, and automation. This split is consistent with the governance emphasis in the OWASP Non-Human Identity Top 10, which treats lifecycle control as a core NHI risk.

In practice, teams reduce ambiguity by making ownership explicit in a credential register and tying it to service, environment, and change ticket. That register should record who can approve issuance, who reviews usage, and who can revoke the secret immediately when a workflow changes. Pair that with periodic access validation and event-driven revocation, so the credential is not left active simply because no one remembers where it is used. NHI Management Group’s Ultimate Guide to NHIs reinforces the practical difference between static and dynamic secrets: static credentials demand disciplined ownership because they persist beyond the workflow that created them.

  • Trigger review on deployment changes, application retirement, and vendor offboarding.
  • Revoke or rotate secrets when a service account, pipeline, or integration is replaced.
  • Prefer short-lived credentials where the workflow can tolerate them.
  • Log who approved, who used, and who confirmed revocation.

These controls tend to break down in multi-cloud and CI/CD-heavy environments because credentials are copied into templates, scripts, and legacy integrations faster than they are inventoried.

Common Variations and Edge Cases

Tighter credential governance often increases operational overhead, so organisations need to balance revocation speed against uptime, automation stability, and change-management friction. The best answer is not always immediate deletion; it is immediate ownership reassignment, then measured retirement of anything no longer justified.

There is no universal standard for how often dormant non-human credentials should be reviewed, but current guidance suggests the review cadence should match the rate of change in the environment. A monthly review may be appropriate for static production secrets, while fast-moving build systems may need event-driven checks tied to release workflows. This is where the 2024 Non-Human Identity Security Report is useful: organisations already acknowledge that non-human IAM often lags human IAM, and that gap becomes visible when ownership is unclear.

Edge cases usually involve shared credentials, third-party integrations, or embedded secrets in legacy code. In those environments, the accountable party still needs to be named, but remediation may require a staged plan: identify the secret, map all consumers, rotate to a new credential, and remove the old dependency without breaking service. If the credential supports critical infrastructure or external customers, revocation should be coordinated with a rollback path. Otherwise, the organisation may “own” the secret in policy but not in practice. In real incidents, stale access is rarely the result of no owner at all; it is usually the result of too many owners and no enforced final decision.

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, NIST SP 800-63, NIST Zero Trust (SP 800-207) 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 Credential lifecycle control is central when secrets stay active after change.
NIST CSF 2.0 PR.AC-1 Access permissions must be managed as systems and workflows change.
NIST SP 800-63 Lifecycle and assurance principles support timely revocation of stale credentials.
NIST Zero Trust (SP 800-207) Zero trust expects continuous verification rather than trusting old credentials.
NIST AI RMF Accountability and governance are needed for automated systems with persistent access.

Define governance roles that can approve, review, and revoke machine access throughout its lifecycle.