Automatic Rotation Strategies & Lambda Functions
Secret Rotation is the process of periodically updating secrets to reduce the risk of compromise. AWS Secrets Manager provides automatic rotation capabilities using Lambda functions to update secrets and their corresponding resources.
Generate new credentials with AWSPENDING label
Update the service with new credentials
Validate new credentials work correctly
Move AWSPENDING to AWSCURRENT label
Remember: Automatic rotation is only available for RDS, DocumentDB, and Redshift. All other services require custom Lambda functions. Multi-user rotation provides zero downtime by alternating between two users.