Choose The Credential And Test Boundary
Record the provider, account, credential type, test owner and stop condition. Inventory foreground requests, scheduled imports, retry workers and deployment settings. Keep secret values in the approved store; use nonsecret version labels in evidence.
Follow the exact provider procedure. AWS documents overlapping IAM user access keys, updating every consumer, deactivating the older key, checking applications and later deleting it. That procedure does not establish overlapping-key support for every API. OAuth tokens, signing secrets and database passwords can have different lifecycles. If overlap is unsupported, rehearse the documented interruption and recovery instead.
Record Evidence At Each Stage
Agree on expected results. Use an isolated simulator or provider-approved test account with narrowly scoped credentials, fictional records and no outbound contact. These are proposed acceptance criteria.
| Stage | Evidence To Keep |
|---|---|
| Baseline | Old test credential succeeds on one harmless permitted operation; input IDs and consumer versions are recorded. |
| New Key | Replacement reaches the intended account with the required scope; unrelated access remains denied. |
| Cutover | Every consumer uses the new version, including scheduled workers and newly started processes. |
| Old Key | After retirement, the authorized test reports old-key denial and new-key success on the same bounded operation. |
| Recovery | Pending synthetic IDs reconcile with saved results; failures stay visible without a retry storm. |
Prove Retirement And Failure Visibility
First verify the replacement through each consumer, then retire the old test credential using the documented method. Where the provider permits a revocation check, make a bounded harmless request with each version; otherwise demonstrate old-key rejection in the isolated simulator and retain the provider's retirement evidence separately. Do not describe a simulated denial as a live-provider result.
Record credential-version labels, request times, sanitized error categories and the affected worker. Account for documented propagation and caching limits; a timeout is not proof of denial. OWASP recommends auditing secret use, updates and authentication or authorization errors. Confirm that the intended operator can see the failed test and identify pending work.
Recover Without Hiding The Gap
If a consumer still uses the old version, pause that test worker, correct its reference and apply the supported reload or restart. Reconcile source IDs against actual saved results before retrying uncertain writes. Set a retry budget and leave unresolved records assigned to an owner.
Keep routine rollback separate from suspected compromise. Do not restore a potentially exposed credential just to clear an alert; follow the incident procedure. Close the rehearsal only after all consumers, retirement evidence and record outcomes are accounted for. Remove temporary test access under the agreed cleanup plan.
The Import Worker Missed The Change
In a hypothetical simulator, the connection check uses version B while a scheduled worker still uses A. Retiring A causes that worker's next request to fail; it leaves three fictional IDs pending. The operator sees the error, pauses the worker, updates its reference and resumes the controlled run. All three IDs are saved once. A separate simulator check rejects A and accepts B. The team records a repaired rehearsal failure, not evidence that a real provider or Sounding passed this test.
Your Action Checklist
- Inventory every credential consumer and its owner.
- Confirm the provider's overlap and retirement rules.
- Verify new access, old-key denial and visible failures.
- Reconcile pending IDs and close temporary access.
Questions Teams Ask
Does A Green Connection Check Prove Rotation?
No. It may exercise only one process. Verify scheduled workers and restarted processes, retain retirement evidence, and reconcile pending records before closing the drill.
Sources And Further Reading
Put The Guide To Work.
Bring the consumer inventory and fictional acceptance results to a Sounding audit discussion. Confirm the proposed connection's actual scope and available controls.
Scope Your Rotation Rehearsal