Rip and replace creates more identity risk when the legacy directory is embedded in authentication, application access, and device trust across the business. In that situation, a full cutover can break hidden dependencies, lock out users, and force a rollback under pressure. The more the directory acts as system of record, the more dangerous a big bang migration becomes.
Why This Matters for Security Teams
Rip and replace becomes an identity risk when a directory is not just a lookup source but the control plane for authentication, application entitlements, service accounts, and device trust. A migration that looks clean in architecture diagrams can still trigger outages, emergency exceptions, and weak fallback controls if hidden dependencies are not mapped first. That is especially dangerous in enterprises where legacy identity has accreted over years and now underpins both human and non-human access. The pattern is well documented in Ultimate Guide to NHIs and aligns with the control discipline in the NIST Cybersecurity Framework 2.0.
NHIMG research shows that 97% of NHIs carry excessive privileges, which is why a rushed migration often moves risk instead of removing it. If the replacement platform goes live before access models, rotation workflows, and trust relationships are fully rebuilt, teams often widen permissions temporarily just to keep business services running. In practice, many security teams discover these dependencies only after users are locked out and application owners demand a rollback.
How It Works in Practice
The safer approach is to treat rip and replace as a staged identity transformation rather than a single cutover. First, inventory everything that depends on the legacy directory: interactive logins, API keys, service principals, machine-to-machine trust, privileged admin paths, and device authentication. Then classify each dependency by blast radius and migration complexity. High-risk identity dependencies should move only after equivalent controls exist in the target environment.
Practitioners usually reduce risk by sequencing the change in three layers:
- Mirror authentication first, so users can prove identity through both old and new paths during a limited overlap window.
- Reissue credentials and tokens with shorter lifetimes, then revoke legacy standing access as soon as each workload is validated.
- Move privileged workflows last, because admin access is where emergency exceptions and broad entitlements usually accumulate.
This is also where non-human identity governance matters. The Ultimate Guide to NHIs — Key Challenges and Risks highlights how often secrets are left outside managed systems, which makes migration brittle and hard to verify. The NIST CSF 2.0 reinforces the need for asset and access visibility before major control changes, not after. Good migration planning should also include rotation, break-glass review, and rollback criteria that are approved before cutover begins. These controls tend to break down when the legacy directory is also the source of device trust and application authorization because one failed dependency can force emergency access exceptions across multiple systems.
Common Variations and Edge Cases
Tighter cutover planning often increases short-term operational overhead, requiring organisations to balance migration speed against continuity and privilege sprawl. That tradeoff becomes sharper when the legacy directory supports third parties, CI/CD pipelines, and shared service accounts, because those identities rarely fit neatly into human-centric access reviews.
There is no universal standard for this yet, but current guidance suggests three common edge cases deserve special handling. First, hybrid environments may need a long coexistence period so authentication can be progressively shifted without breaking application trust chains. Second, regulated or safety-critical systems may require parallel controls until audit evidence shows that identity assertions, logging, and revocation are equivalent. Third, environments with extensive NHI sprawl should expect more exceptions than planned, especially where secrets are embedded in code or deployment tooling.
Best practice is evolving toward phased migration with explicit identity parity checks, not a date-driven big bang. Teams that ignore this usually end up reintroducing the old directory through emergency bridges, which preserves technical debt and sometimes expands access more than the original environment.
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 AI RMF set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-03 | Migration often fails when NHI secrets and privileges are not rotated or reissued safely. |
| NIST CSF 2.0 | PR.AC-4 | Directly maps to managing access permissions during directory replacement. |
| NIST AI RMF | Risk management applies to operational and trust impacts from identity migration. |
Inventory and rotate NHI credentials before cutover, and revoke legacy access immediately after validation.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on June 11, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org