Key rotation
Key rotation is the controlled replacement of cryptographic keys with new keys according to a defined security policy, schedule, or usage limit.
Software Security for Developers
Key rotation is the replacement of cryptographic keys with new keys according to a planned security lifecycle.
- How it is used
- Uses public-key encryption to make service-to-service key replacement easier and reduce shared-secret distribution.
- How deep it goes
- Explains the operational rationale and demonstrates key-pair generation, but stops short of implementing a rotation endpoint.
- Examples
- Demonstrates an ACME warehouse-to-payment refund flow using refunds.json and an RSA key pair.
- What you can do after
- Operate/configure a basic RSA-based service exchange with separate public and private key files.
Read how Software Security for Developers explains key rotation →
Google Anthos in Action
Key rotation is the periodic replacement of cryptographic keys and transition to their replacements.
- How it is used
- Protects service-to-service communication by replacing cryptographic keys within Istio certificate management.
- How deep it goes
- Defines replacement and transition, then connects the concept to CA-issued workload certificates without detailing rotation procedures.
- Examples
- Contrasts Istio’s default self-signed root with administrator-supplied root or delegated CA signing material.
- What you can do after
- Evaluate CA configurations that support managed workload identities and certificate replacement.
Also covered in
Related concepts
- defense in depthpart of · Defense in depth is a strategy that combines multiple complementary protective controls so that the failure or bypass of one does not eliminate protection.
- counterconfigures · A counter is a stateful numeric value that tracks a quantity by changing through operations such as incrementing, decrementing, resetting, or assignment.
- key managementpart of · Key management is the lifecycle administration of cryptographic keys, including their generation, storage, protection, distribution, use, rotation, revocation, and retirement.
- RSAaddressed by · RSA is a public-key cryptosystem based on the computational difficulty of factoring large composite integers and supporting encryption and digital signatures.
- metrickind of · A metric is a quantitative measure used to assess a property, behavior, performance, or outcome.
Questions about key rotation
What is key rotation?
Key rotation is the controlled replacement of cryptographic keys with new keys according to a defined security policy, schedule, or usage limit.
Which Manning books explain key rotation?
Software Security for Developers and Google Anthos in Action.
What is key rotation a kind of?
Key rotation is a kind of metric. A metric is a quantitative measure used to assess a property, behavior, performance, or outcome.
What is key rotation part of?
Key rotation is part of defense in depth. Defense in depth is a strategy that combines multiple complementary protective controls so that the failure or bypass of one does not eliminate protection.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

