Access revocation removes a person’s permission to use a shared resource. Password expiry makes the credential itself unusable after a defined point and forces rotation. In practice, revocation controls who can currently reach the secret, while expiry controls how long the secret remains valid. Using both reduces the chance that old credentials survive beyond their intended lifecycle.
Why Revocation and Expiry Solve Different Shared-Credential Problems
Shared credential management fails in two distinct ways: an untrusted person can still use a secret, or a still-trusted secret can live longer than intended. Access revocation addresses the first problem by removing the person or system from the permission path. Password expiry addresses the second by forcing the credential itself to become invalid on a schedule, which then requires rotation and re-issuance.
That difference matters because shared credentials are usually a lifecycle problem, not just a login problem. If access is revoked but the password never expires, the secret may still be reusable by anyone else who already knows it. If the password expires but access is never revoked, the account or workflow may still be authorised, but temporarily blocked until rotation occurs. Managing shared access well depends on both controls working together, especially where the secret is reused across teams, environments, or automation.
NHIMG research on the Ultimate Guide to NHIs — Lifecycle Processes for Managing NHIs shows why lifecycle control is central to reducing unmanaged access paths. In practice, many teams only discover the gap after a departure, a role change, or a forgotten shared login has already left the credential usable in places nobody is actively watching.
How Shared-Credential Controls Work in Practice
Access revocation and password expiry are often paired, but they act on different layers of control. Revocation changes who is allowed to use the credential or the system that brokers it. Expiry changes whether the credential is still valid at all. For shared credentials, that distinction becomes important because one person’s offboarding, contractor exit, or project change does not automatically invalidate the secret for everyone else who knows it.
In practice, revocation should be tied to identity governance events such as termination, team transfer, vendor exit, or privilege reduction. Password expiry should be tied to the maximum acceptable age of the shared secret, with rotation windows short enough to limit blast radius but long enough to avoid operational churn. The useful question is not whether the password is old, but whether the old password can still authenticate anywhere meaningful.
- Revocation is about current entitlement: remove the subject’s access when they no longer need it.
- Expiry is about secret lifespan: limit how long the credential can remain valid before forced rotation.
- Shared credentials need compensating controls because no single person can be cleanly traced to every use.
- Rotation should be coordinated with dependency mapping so downstream jobs, scripts, or services do not fail unexpectedly.
The strongest guidance is to replace routine human sharing with individually attributable access where possible, and to use short-lived secrets where sharing cannot yet be eliminated. The NHIMG Ultimate Guide to NHIs — Static vs Dynamic Secrets is useful here because it shows why static shared credentials remain risky even when they are technically “managed.” Current guidance suggests that dynamic credentials reduce the cleanup burden that makes shared passwords linger long after access should have ended.
These controls tend to break down when shared credentials are embedded in scripts, legacy applications, or cross-team operational workflows because revocation and expiry can interrupt systems that were never designed for clean ownership or fast rotation.
Where Shared Credentials Break Down and What Teams Underestimate
Tighter credential expiry often increases operational overhead, requiring organisations to balance security benefit against service continuity. That trade-off is real, especially when many users, jobs, or integrations depend on the same secret. The common mistake is treating expiry as a substitute for access review: a password can expire while the wrong people still have standing knowledge of it, and a revoked user may still leak or reuse the secret elsewhere.
Shared credentials also blur accountability. When something goes wrong, revocation tells you who should no longer have access, but it does not tell you who used the secret last. Expiry narrows the time window of exposure, but it does not remove the need to identify where the secret is stored, copied, or cached. For that reason, current best practice is evolving toward eliminating shared passwords entirely where auditability matters, rather than relying on expiry alone to make them acceptable.
If the shared credential is tied to production systems, external partners, or privileged automation, treat it as a high-risk dependency and prioritise replacement with per-user or per-workload access. The practical goal is not simply to reduce password age; it is to ensure the secret cannot outlive its legitimate owners or remain usable after the relationship that justified it has ended.
Risk and Threat Considerations
Shared credentials create concentration risk because one secret can preserve access for multiple people, systems, or vendors after the original trust relationship has changed. Expiry reduces the time available for misuse, but it does not stop exposure if the credential has already been copied, stored in a script, or reused across environments.
Failure mechanism: Revocation fails when the credential itself is still valid for other holders, and expiry fails when long-lived secrets remain embedded in processes that never rotate cleanly. Attackers and insiders often rely on that gap: once a shared secret is known, they can use it until the next forced change, especially if monitoring does not distinguish legitimate use from reuse.
Impact: The result can be persistent unauthorised access, delayed containment after offboarding, and broad blast radius across systems that all trust the same credential. In shared environments, one missed revocation or one missed rotation can preserve access far beyond the point where it should have ended.
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 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 credential lifecycle and rotation are core NHI secret-management concerns. |
| NHI-02 — Lifecycle Governance | Revocation and expiry both depend on controlled issuance, review, and offboarding. | |
| Recommendation — Rotate shared secrets quickly and remove standing access paths when ownership changes. Tie access removal and expiry to joiner-mover-leaver events and scheduled review. | ||
| CIS Controls v8 | 6 — Access Control Management | Revocation is an access-control function and shared credentials need enforced removal. |
| 5 — Account Management | Shared credentials are affected by account lifecycle and entitlement changes. | |
| Recommendation — Enforce prompt access removal when users, vendors, or services no longer need the secret. Review accounts regularly and disable any lingering shared access that is no longer justified. | ||
| NIST CSF 2.0 | PR.AA — Identity Management, Authentication, and Access Control | The question centers on distinguishing identity revocation from credential validity. |
| Recommendation — Maintain separate processes for entitlement removal and credential expiration. | ||
Practitioner Guidance
Decision rule: If the shared credential can reach production, external partners, or automation, treat revocation and expiry as separate controls and require both before you consider the access path controlled. If only one exists, assume residual exposure remains.
What to verify: Confirm who can still authenticate, where the secret is stored, and whether any dependent jobs will fail before rotation. A control is not trustworthy until you can show both the access list and the rotation path are current.
What practitioners underestimate: The hardest part is usually not the expiry date itself, but the hidden copies, cached tokens, and undocumented users that keep a shared secret alive after the original owner has gone.
Practitioner takeaway: Revocation removes present entitlement, but expiry limits future misuse; shared credential hygiene only becomes credible when teams can prove both who lost access and when the secret itself stopped being valid.
Related resources from NHI Mgmt Group
- What is the difference between runtime protection and NHI lifecycle management?
- What is the difference between rotating a secret and revoking access?
- What is the difference between password management and credential lifecycle management?
- What is the difference between better password management and passwordless access?