Join our Newsletter — 33% off our NHI Course

What happens when a shared credential is not revoked after someone leaves or becomes unavailable?

If shared access is not revoked promptly, a former employee or unavailable teammate can retain access to critical systems longer than intended. That creates an avoidable breach path, especially when shared passwords or MFA dependencies are involved. Good practice is to combine immediate revocation, selective rotation, expiration rules, and monitoring so access does not outlive the business need.

Why Unrevoked Shared Access Becomes a Security Problem

When a shared credential is left active after someone leaves or becomes unavailable, the issue is not just account housekeeping. The organisation has lost a reliable way to know who can still use that access, and that weakens accountability, auditability, and containment. Shared passwords and shared MFA dependencies are especially problematic because the access path may survive even when the person is no longer in the role.

That matters because access tied to a business need should end when the need ends. If it does not, the credential becomes a standing pathway into systems that may contain operational data, customer data, or administrative functions. Current guidance on non-human and shared access strongly favours short-lived, attributable access over credentials that linger beyond their purpose. OWASP Non-Human Identity Top 10 is a useful reference point for this access-bounded approach.

In practice, many teams discover the problem only after a departure, shift change, or incident response review has already exposed how long the shared secret remained usable.

How Revocation, Rotation, and Monitoring Work Together

The right response is not just “change the password later.” Revocation and rotation solve different parts of the problem. Revocation removes the departed or unavailable person’s ability to use the credential, while rotation changes the secret so any copied value stops working. If the shared access also depends on MFA, the organisation must check whether the second factor is tied to a person, a device, or a shared workflow, because that determines whether the path is still usable after the person departs.

Shared credentials are often used because they are convenient for service continuity, break-glass access, or legacy systems that do not support individual identities. That convenience comes at a cost: the more people who know the secret, the harder it is to prove who used it and when. A better pattern is to limit the credential’s lifetime, scope, and reuse, then monitor for access that continues outside the expected business window. NHI Lifecycle Management Guide helps frame that lifecycle view, and Ultimate Guide to NHIs — Static vs Dynamic Secrets explains why dynamic credentials reduce lingering exposure.

  • Use immediate revocation when the person no longer has a business reason to hold the secret.
  • Rotate the credential if it may have been copied, cached, or shared beyond the intended audience.
  • Set expiry rules for shared access so the credential cannot outlive the task it supports.
  • Monitor for logins, token use, or API calls that occur after offboarding or unavailability.

These controls tend to break down in legacy systems and emergency-access workflows because the organisation treats shared access as an exception instead of a managed lifecycle.

Common Variations and Edge Cases

Tighter revocation often increases operational friction, so organisations have to balance continuity against control. That tradeoff is most visible in service accounts, vendor support access, and break-glass credentials, where immediate removal can disrupt production if no alternate path exists.

There is no universal standard for every environment, but current guidance suggests treating shared credentials differently from individually assigned accounts. If the access is used by multiple people, the organisation should assume that attribution is weak and that revocation must be planned around dependency, not just personnel status. Where MFA is shared or tied to a common device, the real dependency may be the factor itself rather than the password, which means leaving either piece active can preserve access.

At scale, the hardest cases are usually not the obvious departures but the accounts nobody formally owns, the credentials embedded in scripts, and the shared admin paths that survive role changes. Guide to the Secret Sprawl Challenge is relevant when shared access is only one symptom of wider credential sprawl, and teams that need a broader access-control baseline can compare the problem with NIST SP 800-63 Digital Identity Guidelines.

Practitioner Guidance: Treat any shared credential with no clear owner or expiry as a pending exposure, not an administrative nuisance.

What to prioritise: Offboard the credential first, then decide whether the business process still needs a shared path at all. If the access supports production or administrative functions, assess the blast radius before assuming the issue is solved by a simple password change.

What to verify: Confirm whether the shared secret is stored in scripts, password vaults, browser saves, CI/CD variables, or MFA apps, because revocation is incomplete if one copy remains usable. Also verify whether audit logs can distinguish legitimate use from post-departure use.

Decision rule: If you cannot attribute shared access to a named owner and a defined expiry, treat it as technical debt with security impact and move it into rotation and replacement planning.

Practitioner takeaway: The real risk is not that a person leaves; it is that access outlives the authority that was supposed to constrain it.

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 MITRE ATT&CK address the attack and risk surface, while CIS Controls v8 and 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-01 — Secrets and Credential Management Shared credentials that linger are a core non-human secret-lifecycle risk.
NHI-02 — Lifecycle and Ownership The issue is unresolved ownership and offboarding of shared access.
Recommendation — Rotate and revoke shared secrets promptly when access is no longer required. Assign an owner and expiry to every shared credential or retire it.
CIS Controls v8 6 — Access Control Management Revocation after departure is an access-control hygiene requirement.
5 — Account Management Shared accounts need controlled lifecycle handling and review.
Recommendation — Remove unused access and disable credentials immediately on role change. Review shared accounts regularly and eliminate unnecessary shared access paths.
NIST CSF 2.0 PR.AC-1 — Identity Management, Authentication and Access Control Unrevoked shared access is a failure of identity and access control.
PR.AC-4 — Access Permissions Management Lingering shared credentials preserve permissions beyond authorised need.
Recommendation — Enforce timely revocation so access ends when business need ends. Limit permissions and remove stale access before it becomes standing access.
MITRE ATT&CK T1078 — Valid Accounts Compromised or retained shared credentials provide valid-account access.
Recommendation — Monitor for valid-account use after departure and investigate anomalous access.