Cloud concept / Identity and access management
Credential lifecycle and secret storage
Separate human passwords, API authentication, and application secrets, and store each appropriately.
How it works
An IAM password policy applies to IAM user console passwords; access keys authenticate API calls. Prefer temporary role credentials over stored AWS keys. Keep app secrets in Secrets Manager when rotation is needed, or use Systems Manager Parameter Store SecureString for encrypted parameters; grant specific read access.
Exam keywords
Picture this
Store keys in a controlled vault and issue short-term passes whenever possible.
Roles first, no secrets in code.
When to use it
A deployment needs API credentials and an application database password, while legacy IAM users still sign in to the console.
When not to use it
MFA does not encrypt secrets, and a password policy does not rotate API keys. Do not put keys in a repository or in an image.
On the exam
AWS Certified Cloud Practitioner (CLF-C02) · Domain 2: Security & Compliance · Task 2.3