AWSCloud Visual Academy

Cloud concept / Identity and access management

Credential lifecycle and secret storage

Separate human passwords, API authentication, and application secrets, and store each appropriately.

Try a scenarioRecall card

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

access keys
password policy
rotation
Secrets Manager
Parameter Store

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.

AWS Identity and Access Management (IAM) — Core AWS authorization service for managing identities, roles, and policies controlling access to AWS resources.
AWS Secrets Manager — Managed encrypted storage and retrieval for secrets such as database credentials and API tokens.
AWS Systems Manager — Operational management service for fleets of managed nodes and AWS resources.
AWS Key Management Service (AWS KMS) — Managed creation and controlled use of cryptographic keys that integrate with AWS services and applications.

On the exam

AWS Certified Cloud Practitioner (CLF-C02) · Domain 2: Security & Compliance · Task 2.3