Rotation becomes a routine, not a project
A quarterly schedule opens the cycle on time with the inventory, leak sweep and rotation tasks assigned to named engineers.
Machine secrets are the credentials systems use to talk to each other: API keys, service account and application passwords, cloud access keys, database credentials, SSH keys, code signing keys, encryption keys held in a key management service or hardware security module, and the private keys behind certificates. They are copied into configuration files, CI variables and developer laptops, and when one is exposed nothing usually tells you. This free secrets rotation checklist is for security, platform and DevOps engineers who run the recurring routine that keeps them under control: a current inventory with owners and ages, a sweep of code and pipelines for leaked secrets, planned rotation that creates, deploys, verifies and revokes without an outage, emergency rotation after a leak, an incident or a leaver, key rotation in your KMS, and the evidence and sign-off that close each cycle. Staff passwords are out of scope, for reasons the next section explains.
NIST SP 800-63B-4, finalised in 2025, says verifiers shall not require people to change their passwords periodically, and shall force a change when there is evidence of compromise. Forced changes produced predictable patterns, such as a season and a year, and did little against phishing or reuse. That guidance is about memorised secrets that belong to a person. It does not cover the credentials and keys your systems use.
Machine secrets behave differently. Nobody memorises them, they are copied far more widely than a user password, and an exposure in a public repository, a build log or a former contractor’s laptop is often silent. NIST SP 800-57 Part 1 Revision 5 asks for a cryptoperiod for every key: the time it may be used before it is replaced, which limits how much data one key protects and how long a stolen key stays useful. Its suggested periods include up to about two years of use for a symmetric data encryption key and one to three years for a private signature key. PCI DSS v4.0.1 takes the same view of application and system account passwords: requirement 8.6.3 asks for them to be changed at a frequency set by your own targeted risk analysis and whenever compromise is suspected.
Belongs to: a person, who has to remember it.
Guidance: NIST SP 800-63B-4 bars forced periodic changes and requires a change when compromise is suspected.
Handled by: your identity provider and password policy, not this checklist.
Includes: API keys, service and application account passwords, cloud access keys, database credentials, SSH and deploy keys.
Guidance: PCI DSS 8.6.3 risk-based changes; OWASP: centralise, automate rotation, detect leaks.
Rotation: create, deploy, verify, revoke, ideally with two valid credentials during the switch.
Includes: encryption keys in a KMS or HSM, signing keys and certificate private keys.
Guidance: NIST SP 800-57 cryptoperiods; PCI DSS 3.7.4 and 3.7.5.
Rotation: new key versions encrypt new data; old versions are kept only to decrypt.
Certificates are being pushed the same way. Under CA/Browser Forum ballot SC-081, the maximum validity of a publicly trusted TLS certificate fell from 398 to 200 days on 15 March 2026, and will fall to 100 days from 15 March 2027 and 47 days from 15 March 2029. At that pace renewal has to be automated, so this checklist confirms the automation works and each renewal uses a new private key.
Seven phases run each cycle from the inventory to signed evidence. Emergency rotation appears only after a leak, an incident or a leaver; the dual-key steps only where a secret cannot be swapped in one go.
Owned by the security or platform engineering lead. The trigger answer decides whether Phase 3 appears.
A Yes on the live exposure task switches on Phase 3 even when the run was scheduled.
Appears only when Phase 1 records a leak, incident or leaver, or Phase 2 finds a live exposed secret. The decision to accept an outage needs approval from the system owner.
The method answer in task 1 shows the matching tasks: dual-key tasks appear only for secrets that cannot be swapped in one step. Rotation of a production secret is raised as a standard change.
Assigned to the key custodians named in the key management procedure.
Sign-off is an approval task for the head of security or platform engineering. The checklist halts until it is approved.
Most frameworks do not set one rotation interval. They ask you to define a cryptoperiod or a risk-based frequency, follow it, rotate on suspected compromise and prove it. The table maps each reference to the phase that produces the evidence.
| Framework | Reference | What it expects | Evidenced in |
|---|---|---|---|
| NIST SP 800-57 Part 1 Rev. 5 | Cryptoperiods | A defined cryptoperiod for each key type, based on algorithm, use, volume of data and the risk of exposure | Phases 1, 5 |
| NIST SP 800-63B-4 | Password verifiers | No forced periodic change of user passwords; a forced change on evidence of compromise | Scope (user passwords excluded) |
| PCI DSS v4.0.1 | 3.6.1, 3.7.1–3.7.8 | Keys protecting stored account data are protected and managed through their life cycle, changed at the end of the cryptoperiod (3.7.4), retired or replaced when weakened or suspected compromised (3.7.5), with custodian acknowledgement (3.7.8) | Phases 3, 5, 7 |
| PCI DSS v4.0.1 | 4.2.1.1 | An inventory of trusted keys and certificates used to protect cardholder data in transit | Phase 1 |
| PCI DSS v4.0.1 | 8.6.2, 8.6.3 | No hard-coded passwords for interactive application and system accounts; their passwords changed at a risk-based frequency and on suspected compromise | Phases 2, 4, 6 |
| ISO/IEC 27001:2022 Annex A | 8.24, 5.17 | Rules for the use of cryptography, including key management across the key life cycle; authentication information allocated and managed | Phases 1, 4–5 |
| SOC 2 Trust Services Criteria | CC6.1 | Logical access security over protected information assets; points of focus include managing credentials for infrastructure and software and protecting encryption keys | Phases 4–5 |
| OWASP Secrets Management Cheat Sheet | Guidance | Centralise secrets, automate rotation, detect secrets in code and pipelines, and plan for a leaked secret | Phases 2–4, 6 |
Treat the table as a starting point, not audit advice. Your assessor decides what counts as sufficient evidence for your scope, and PCI DSS 8.6.3 in particular expects the targeted risk analysis behind your chosen frequency to be written down. Most key management procedures cite SP 800-57 Part 1 Revision 5, published in May 2020. NIST published an initial public draft of Revision 6 in December 2025 that adds the new post-quantum algorithms, so check whether it has been finalised before you update your procedure.
A quarterly schedule opens the cycle on time with the inventory, leak sweep and rotation tasks assigned to named engineers.
Conditional logic adds the emergency phase when a run is triggered by a leak, an incident or a leaver, or when the sweep finds a live secret. The revoke-first order and the outage approval are decided in advance, not on a call at midnight.
Vault and KMS history, revocation confirmations and exceptions are attached to the task they support, never the secret itself. The audit trail shows who rotated what and when, and the final approval records sign-off.
CheckFlow is not a secrets vault, a KMS or a secret scanner. It runs the human side around those tools: who owns each secret, who rotated it, what was revoked and who approved the cycle. CheckFlow for recurring checklists shows how scheduled runs and conditional phases work, and the guide to recurring compliance checklists for IT teams covers how to keep routines like this one on time.
Two related routines catch what this one misses. The Active Directory & Entra ID Account Cleanup Checklist finds stale app registrations and expired client secrets, and when a secret has been used by someone else the Cybersecurity Incident Response Checklist takes over. For leavers, the IT offboarding security checklist lists the shared credentials to rotate on the way out.
There is no single interval that every framework sets. NIST SP 800-57 asks for a cryptoperiod per key type, and PCI DSS v4.0.1 lets you set the frequency for application and system account passwords through a targeted risk analysis. Many organisations choose 90 days for high-privilege static credentials and up to a year for lower-risk ones. Whatever the schedule, rotate immediately when a secret may have been exposed or someone who could read it leaves.
Not for people. NIST SP 800-63B-4 says verifiers shall not require users to change passwords periodically, and shall force a change when there is evidence of compromise. That applies to memorised passwords belonging to users. Machine secrets, service account passwords and cryptographic keys are a separate case: NIST SP 800-57 still expects keys to have a defined cryptoperiod, and PCI DSS still expects application and system account passwords to be changed at a risk-based frequency.
It is the length of time a cryptographic key is authorised for use before it must be replaced. NIST SP 800-57 Part 1 sets out the factors that shorten or lengthen it, such as the strength of the algorithm, how much data the key protects, how it is stored and the cost of a compromise.
Usually nothing you can see. In a cloud KMS, automatic rotation creates new key material for new encryption operations and keeps the earlier versions so existing data can still be decrypted. AWS KMS, for example, retains all key material for a key until the key itself is deleted and picks the right version automatically. The danger is deleting or destroying an old key version, which makes the data it protected unrecoverable.
Revoke or rotate it first, then clean it up. Assume it has been copied the moment it was pushed, especially to a public repository. Check the provider’s logs for use of the secret since the commit, rotate anything else the secret could reach, and treat any unexplained use as a security incident. Cleaning the history afterwards does not make the old secret safe to keep.
It is rotation in which the old and new credentials are both valid for a short overlap. You create the new credential, move each consuming service to it, confirm they all work, then deactivate and delete the old one. Where a system accepts only one, plan a short cut-over in a maintenance window instead.
14-day free trial, no card required. The Business plan is $10 per user per month after the trial. Full details at checkflow.io/pricing.