Centralisation usually comes first because teams cannot govern what they cannot inventory. But rotation becomes the risk-reduction lever once secrets are visible, because long-lived credentials remain useful to attackers even inside a well-managed vault. The right sequence is discover, centralise, then shorten lifetime.
Why centralisation usually comes before rotation
Rotation only reduces risk when teams can see what exists, where it is used, and who owns it. If secrets are still scattered across repos, build systems, laptops, and ad hoc vaults, rotation becomes a partial and often brittle reaction. Centralisation creates the inventory and control plane needed to make lifetime policy enforceable rather than aspirational.
A well-run central store does more than collect values. It establishes ownership, normalises metadata, exposes stale or duplicated secrets, and gives teams a place to apply policy consistently. That is why the sequencing matters: discover first, centralise second, then rotate with confidence that the right credential, service, or token is actually being changed.
For a broader lifecycle view, NHIMG’s NHI Lifecycle Management Guide frames rotation as one stage inside a larger management process that also includes provisioning, visibility, and offboarding. The same sequencing is reflected in the Lifecycle Processes for Managing NHIs section.
Why rotation becomes the decisive risk-reduction step
Once secrets are inventoried and tied to owners, rotation becomes the control that shortens attacker utility. Long-lived credentials are attractive because they survive compromise windows, remain valid across forgotten dependencies, and often outlast the assumptions that created them. Shortening lifetime reduces the time between disclosure and revocation, which is especially important for API keys, tokens, signing keys, and service credentials.
Rotation is not simply “changing a password.” For machine and service credentials, it also means updating dependent systems, handling staged cutovers, and making sure the old credential actually dies. Teams often underestimate the amount of dependency mapping required, which is why rotation without centralisation tends to fail at scale. NHIMG’s Guide to NHI Rotation Challenges covers the operational realities of rotating credentials in complex environments, while the Static vs Dynamic Secrets section explains why shorter-lived credentials are easier to govern.
Teams should also distinguish rotation from vaulting. A vault reduces exposure by centralising storage and access, but it does not automatically remove the risk of durable secrets. Rotation is the mechanism that turns a vault from a repository into an enforcement point for secret freshness. The practical question is not whether a secret is stored safely, but whether it remains useful long enough to matter after exposure.
How to decide the order in practice
The right sequence is usually discovery, centralisation, then rotation, but exceptions exist. If you already have reliable inventory and ownership, or if a specific credential is suspected to be exposed, rotation may need to be accelerated before a full centralisation programme is complete. The sequencing decision should follow control maturity and exposure, not organisational preference.
A useful test is whether the team can answer four questions with confidence: what the secret is, where it is used, who owns it, and how quickly it can be revoked without breaking production. If any of those are unknown, centralisation still has priority. If they are known, rotation should become the default risk-reduction lever, especially for credentials with broad blast radius or weak expiry discipline.
For a governance and hygiene perspective, the Secret Sprawl Challenge is a useful companion because it shows how scattered credentials create the exact conditions that make rotation ineffective. The same applies to lifecycle control failures described in Top 10 NHI Issues, where visibility gaps and ownership problems often precede rotation failures.
Risk and Threat Considerations
When teams rotate before they centralise, they often leave the highest-risk secrets untouched because they do not know where all copies live. That creates a false sense of remediation while attackers can still use stale, duplicated, or embedded credentials. Centralisation also matters because compromised secrets are often abused through hidden dependencies, not the original system that owns them.
Failure mechanism: scattered secrets, missing ownership, and undocumented dependencies prevent complete revocation, so an attacker or insider can retain access through an overlooked copy even after the “rotation” is declared complete.
Impact: exposure persists longer than intended, incident containment slows down, and teams may repeatedly cycle credentials without actually removing attacker access or reducing blast radius.
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 addresses the attack and risk surface, while NIST SP 800-57 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-07 — Long-Lived Secrets | The question is about sequencing centralisation vs rotation for secrets. |
| NHI-01 — Improper Offboarding | Centralisation and rotation both depend on knowing what to retire and revoke. | |
| NHI-02 — Secret Leakage | Scattered secrets and delayed rotation both increase the exposure window for leaked credentials. | |
| Recommendation — Shorten secret lifetime after inventory exists, so exposed credentials age out quickly. Tie credential retirement to ownership and decommissioning so stale access is removed. Centralise secrets and rotate exposed values to reduce the time a leak remains usable. | ||
| NIST SP 800-57 | Key Management | The topic materially concerns key and secret lifecycle, including rotation and cryptoperiods. |
| Recommendation — Set cryptoperiods and rotate keys on a defined lifecycle instead of ad hoc timing. | ||
| CIS Controls v8 | CIS-6 — Access Control Management | The question concerns governing and reducing access paths for secrets and credentials. |
| Recommendation — Inventory credentials, centralise control, and remove stale access paths on a set schedule. | ||
Practitioner Guidance
What to prioritise: Start by inventorying the highest-value and highest-reach credentials, especially those used by production systems, CI/CD, integrations, and signing workflows. Those are the secrets that create the largest gap between “known” and “dangerous” if they remain unmanaged.
What to verify: Before trusting a rotation programme, verify that every secret has an owner, an expiry or review path, and a decommissioning step for the old value. If a team cannot show that the retired credential is no longer accepted anywhere, rotation is incomplete.
Practitioner takeaway: Centralisation gives you control, but rotation gives you time. The mature operating model is to make secrets visible first, then make them short-lived enough that any future exposure has less value.
Related resources from NHI Mgmt Group
- Should teams prioritise session rotation or password policy first?
- How do teams decide whether to prioritise secrets rotation or access visibility first?
- Should teams prioritise segregation of duties monitoring or evidence centralisation first?
- Should teams prioritise secret discovery or rotation first after exposure?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on October 13, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org