Vault Rotation
Vault rotation is the practice of automatically replacing stored secrets, such as encryption keys, passwords, or credentials, with fresh values on a regular schedule using a secrets management system. Doing this on a recurring basis limits how long any single secret remains valid, reducing the risk if one is ever exposed. Many cloud and secrets management platforms can perform this automatically at a configurable interval.
Vault rotation refers to the scheduled, and typically automated, generation and activation of new secret or cryptographic key material within a secrets management or key management system, superseding the prior active version. In key management contexts, rotation creates a new key version at a chosen frequency (for example, Azure Key Vault auto-rotation or OCI KMS Private Vault, which defaults to a 90-day interval that is customizable). In secrets management contexts, rotated secrets are created on a schedule by the system, with the newly generated credential stored as the active value; this is distinct from dynamic secrets, which are generated on demand and typically short-lived. Platforms such as HashiCorp Vault Enterprise provide centralized, scheduled credential rotation with configurable retry behavior. Exact behavior, supported secret types, versioning semantics, and whether prior versions remain usable during a grace period vary by vendor, engine, and configuration. This entry addresses rotation as a secrets/key lifecycle operation and does not cover runtime token validation or authorization enforcement.
Why it matters
Every stored secret is a standing liability: the longer a credential, encryption key, or password remains valid, the larger the window in which a compromised copy can be used by an attacker. Vault rotation directly shrinks that window by replacing secrets with fresh values on a recurring schedule, so that an exposed secret has a bounded useful lifetime rather than an indefinite one. This is a lifecycle control on the secret itself, and it complements, but does not replace, access controls and monitoring around how secrets are consumed.
Automation is central to why rotation is practical at scale. Manual rotation tends to be skipped, delayed, or done inconsistently, which leaves long-lived credentials in place precisely where they accumulate risk. Platforms that create a new key version at a configurable frequency (as in Azure Key Vault auto-rotation), or that generate and store a new active credential on a schedule (as with HashiCorp Vault's rotating secrets), remove much of that manual toil and make short secret lifetimes the default operating state rather than an exception.
Rotation intervals are typically a configuration decision that balances operational disruption against exposure risk. Some platforms ship with a default interval that can be customized, for example, OCI KMS Private Vault defaults to a 90-day rotation that operators can adjust. The right interval depends on the sensitivity of the protected resource, the blast radius of a compromise, and the tolerance of downstream consumers for credential changes, so there is no single correct value across deployments.
Who it's relevant to
Inside Vault Rotation
Common questions
Answers to the questions practitioners most commonly ask about Vault Rotation.
