Skill 2.3.1

Specifying IAM users and IAM roles that adhere to the principle of least privilege access

Key Concepts

Prefer roles with temporary credentials (instance profiles, task roles, Lambda execution roles, IAM Identity Center permission sets) over IAM users with access keys. Scope actions and resources tightly, add conditions (tags, source VPC, MFA), and use permissions boundaries when delegating role creation.

Generate policies from CloudTrail activity with IAM Access Analyzer, validate them with policy checks, and remove unused permissions using last-accessed data and unused access findings.