Introduction to AWS IAM
Identities, policies and temporary credentials that control access to AWS.
- 6 lessons
- Module quiz
Every request made to AWS, whether from the console, the CLI, an SDK or another AWS service, must be authenticated and authorised: AWS must know who is making it and whether they are allowed to. AWS Identity and Access Management (IAM) performs both checks for every account, which makes it the foundation of every secure architecture.
IAM defines identities, namely users, groups and roles, and the policies that allow or deny actions on resources. Roles are identities that applications, services and people assume to receive temporary credentials, which is why they are preferred over the long-term access keys of IAM users. IAM is a global service, not tied to a Region, and it is free.
What the exam expects
The exam expects the best practices of least privilege, multi-factor authentication and roles instead of access keys, and tests them in scenarios: choosing roles over users, granting access across accounts with roles or resource-based policies, and understanding how AWS evaluates several policies to decide whether a request is allowed.
How this module is organised
Choosing IAM Users, Groups and Roles explains the identities. Writing Least-Privilege Identity-Based Policies explains how permissions are written, and Tracing How AWS Evaluates Policies explains how AWS combines policies. Finding Unintended and Unused Access with IAM Access Analyzer explains how unintended access is found. Granting Cross-Account Access with AWS STS and Roles explains temporary credentials and access between accounts, and Federating Identities to Obtain Temporary AWS Credentials explains how external identities sign in to AWS.
- Choosing IAM Users, Groups and Roles Lesson 1
- Writing Least-Privilege Identity-Based Policies Lesson 2
- Tracing How AWS Evaluates Policies Lesson 3
- Finding Unintended and Unused Access with IAM Access Analyzer Lesson 4
- Granting Cross-Account Access with AWS STS and Roles Lesson 5
- Federating Identities to Obtain Temporary AWS Credentials Lesson 6
- Practise and review
- Checkpoint Practice activities across the module
- Test your knowledge 5 questions