Skill 4.2.4
Securely store secrets by using AWS services
Key Concepts
AWS Secrets Manager stores secrets encrypted with KMS, controls access with IAM and resource policies, replicates secrets to other Regions and rotates them on a schedule with a Lambda rotation function (managed rotation for RDS, Aurora, Redshift and DocumentDB credentials). Rotation needs network access from the function to the database and to Secrets Manager (VPC endpoint or NAT).
Systems Manager Parameter Store stores configuration as String, StringList or SecureString (KMS-encrypted), with hierarchies, versions and standard (free) or advanced tiers, but no built-in rotation. Applications retrieve values at runtime with their role, and CloudFormation and ECS can reference both stores dynamically.