liveBook · Manning

Credential rotation

Also called password rotation, secret rotation

Credential rotation is the periodic or event-triggered replacement of authentication credentials or secrets to limit exposure and satisfy security requirements.

How 2 Manning books explain it

Effective Platform Engineering

Credential rotation is the practice of replacing authentication credentials periodically or in response to security or lifecycle requirements.

How it is used
Keeps infrastructure-pipeline service account credentials current without breaking jobs already in progress.
How deep it goes
Explains the two-valid-key pattern and shows scheduled rotation jobs, without detailing the rotation command’s internals.
Examples
Shows a credential-rotation command, a post-apply rotation step, and a weekly pipeline schedule.
What you can do after
Operate/configure it as a scheduled pipeline job with overlapping service account credentials.

Read how Effective Platform Engineering explains credential rotation →

Grokking Software Architecture

Secret rotation is the practice of replacing credentials on a recurring or triggered basis while maintaining application access without unnecessary downtime.

How it is used
Prevents credential expiration from causing application outages by refreshing secrets and retrying failed operations.
How deep it goes
Explains a four-step recovery flow and names framework integrations, without showing their implementation.
Examples
Uses a database password change, 30-day AWS Secrets Manager rotation, and Spring Boot integrations as examples.
What you can do after
Build it by catching authentication failures, clearing cached credentials, fetching a fresh secret, and retrying the operation.

Read how Grokking Software Architecture explains credential rotation →

Also covered in

What to know first

Related concepts

Questions about credential rotation

What is credential rotation?

Credential rotation is the periodic or event-triggered replacement of authentication credentials or secrets to limit exposure and satisfy security requirements.

Which Manning books explain credential rotation?

Effective Platform Engineering and Grokking Software Architecture.

What should I know before learning credential rotation?

Manning books that teach credential rotation usually introduce credential, encryption and openid connect first.

What is credential rotation also called?

Credential rotation is also called password rotation or secret rotation.

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.