Skill 2.3.1
Understanding access keys, password policies, and credential storage (for example, AWS Secrets Manager, AWS Systems Manager)
Key Concepts
Passwords are for console access; an IAM password policy enforces length, complexity, rotation and reuse rules. Access keys (access key ID and secret access key) are for programmatic access through the CLI, SDKs and APIs. Rotate them and prefer IAM roles with temporary credentials where possible.
AWS Secrets Manager stores secrets such as database passwords and API keys, and rotates them automatically. AWS Systems Manager Parameter Store stores configuration data and secrets (SecureString) at low or no cost. Applications retrieve them at run time instead of hard-coding credentials.