Skill 5.3.1
Design management and rotation of credentials and secrets (for example, AWS Secrets Manager)
Key Concepts
Secrets Manager encrypts secrets with KMS, controls access with IAM and resource policies, and rotates them on a schedule. Rotation uses a Lambda function (templates for RDS, Redshift, DocumentDB) moving through staging labels AWSPENDING, AWSCURRENT and AWSPREVIOUS; managed rotation (for example RDS ManageMasterUserPassword) needs no Lambda. Secrets can replicate to other Regions.
Parameter Store SecureString parameters are cheaper but lack built-in rotation. Applications should fetch secrets at runtime (with caching), never hard-code them; the alternating users rotation strategy avoids failed logins during rotation.