AWS service / Security, Identity, and Compliance
AWS Identity and Access Management (IAM)
Identity and Access Management — Core AWS authorization service for managing identities, roles, and policies controlling access to AWS resources.
How it works
Policies govern allowed actions and resources under conditions; an applicable explicit deny takes precedence. Workloads typically assume roles for temporary credentials instead of embedding long-lived keys.
Exam keywords
Picture this
A badge system issues keys only for the rooms and times a job requires.
IAM answers who can do what to which resource.
When to use it
A workload needs temporary credentials permitting reads from one specific object prefix while preventing writes and access to unrelated resources.
When not to use it
Do not create long-lived keys for a workload that can assume a role or treat a policy as a sign-in system for consumer app users.
On the exam
AWS Certified Cloud Practitioner (CLF-C02) · Domain 2: Security & Compliance · Task 2.3