Subscribe to the Non-Human & AI Identity Journal
Home Glossary NHI Lifecycle Management Certificate rotation
NHI Lifecycle Management

Certificate rotation

← Back to Glossary
By NHI Mgmt Group Updated June 7, 2026 Domain: NHI Lifecycle Management

Certificate rotation is the process of replacing signing certificates before they expire or become unsafe to trust. In SAML, rotation is part of the federation lifecycle, because expired or mismatched certificates can break authentication and create avoidable outage and audit problems.

Expanded Definition

Certificate rotation is the planned replacement of signing or authentication certificates before they expire, are revoked, or are judged too risky to keep in service. In NHI operations, it is not just a date-driven renewal task. It is a control point that preserves trust between services, identity providers, and federated applications. In SAML environments, a rotated certificate must be introduced carefully so that both old and new trust chains are recognised during the transition, which is why the lifecycle matters as much as the certificate itself. Guidance across vendors varies on how much of the process should be automated, but the operational goal is consistent: keep trust continuous while changing the cryptographic material behind it. NHI Management Group treats this as part of broader lifecycle governance, alongside inventory, ownership, and rollback planning, as outlined in the NHI Lifecycle Management Guide. The most common misapplication is treating certificate rotation as a simple renew-and-replace task, which occurs when teams update the certificate without validating every dependent workload, federation endpoint, and trust store.

Examples and Use Cases

Implementing certificate rotation rigorously often introduces operational coordination overhead, requiring organisations to weigh continuity of trust against the cost of scheduling, testing, and change control.

  • A SAML identity provider publishes a new signing certificate while keeping the old one trusted long enough to prevent login failures during the cutover.
  • An internal API gateway rotates its mTLS certificates on a fixed schedule so service-to-service traffic does not depend on long-lived credentials.
  • A workload using short-lived certificates integrates with automated renewal to avoid manual intervention and reduce the risk of expiry-related outages, a pattern discussed in the Guide to NHI Rotation Challenges.
  • A federation team stages certificate updates across test, pre-production, and production environments to verify that metadata, trust anchors, and downstream caches all refresh correctly.
  • Security engineers compare rotation strategy with guidance from the OWASP Non-Human Identity Top 10 when certificate handling is part of a broader NHI risk review.

In practice, good rotation depends on asset inventory and ownership clarity, not only on cryptography. The Top 10 NHI Issues and the Lifecycle Processes for Managing NHIs both reinforce that rotation fails when certificates exist without a clear owner or dependency map.

Why It Matters in NHI Security

Certificate rotation matters because expired or mismatched certificates can interrupt authentication, break federated trust, and expose organisations to avoidable outages. It also reduces the window in which a stolen or weak certificate can be abused. This is especially important in machine identity environments, where manual tracking is still common and visibility is often poor. In SailPoint’s Critical Gaps in Machine Identity Management report, 45% of organisations said certificate expiry is the leading cause of outages, and 57% lack a complete inventory of their machine identities. That combination shows why rotation cannot be separated from lifecycle governance, inventory discipline, and automation. A certificate that is technically valid but operationally unmanaged is still a security problem if no one knows where it is used, who owns it, or how to replace it safely. Organisations typically encounter the need for disciplined certificate rotation only after an outage or authentication failure, at which point the rotation process becomes operationally unavoidable to address.

For broader secrets governance, the Guide to the Secret Sprawl Challenge is also relevant because certificate material is part of the wider identity and secret lifecycle.

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 Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-02Covers lifecycle and secret handling risks that make certificate rotation necessary.
NIST CSF 2.0PR.DSProtecting data and identities includes maintaining valid, trusted cryptographic materials.
NIST Zero Trust (SP 800-207)Zero trust depends on continuously validated machine and service identities.

Treat certificates as time-bound trust signals and rotate them without weakening authentication.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on June 7, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org