One rotation, two systems to coordinate
How scheduled rotation coordinates credential changes with target systems using Lambda rotation steps, version staging labels, and retry-safe failure handling. · advanced
Scheduled rotation must coordinate a stored secret with the system that accepts its credentials. This lesson follows Lambda-based rotation of an Amazon RDS database credential: changing the secret value alone does not change the database password.
Secrets Manager owns the rotation schedule and version staging labels; the Lambda handler performs the target-specific work. A rotation window permits scheduling flexibility, not an exact cutover time. Secrets Manager invokes the handler for individual rotation steps rather than asking one invocation to complete the entire workflow.
The diagram shows the directed requests and log writes for this implementation, not response traffic. EventBridge can schedule or route events, and Step Functions can orchestrate workflows, but neither replaces Secrets Manager's native rotation/version protocol or the Lambda handler that implements its steps.
1 / 5 Secrets Manager holds the rotation configuration and the secret's labeled versions. Its schedule initiates the rotation workflow.
AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.