01Chapter 1: How IAM works: principals, authentication, and authorizationAWS Identity and Access Management (IAM) is the service that decides who can do what in an AWS account. This chapter gives you the working model that the rest of the tutorial builds on. You will learn the vocabulary, the two checks every request goes through, and the common mistakes that come from m7 min read
02Chapter 2: IAM users and the root userThis chapter covers the two kinds of long-lived identities in an AWS account: the root user and IAM users. It assumes you can use the AWS Management Console, read JSON, and run basic AWS CLI commands. You should also know the difference between authentication (proving who you are) and authorization 6 min read
03Chapter 3: Passwords, MFA, and access keysThis chapter assumes you know what an IAM user is, can read JSON, and have the AWS CLI configured with an administrator profile. It covers the credentials an IAM user can hold, how to protect them, and how to rotate and audit them. Roles and temporary credentials come in later chapters.5 min read
04Chapter 4: What a policy is and which policy types existThis chapter assumes you know that IAM separates authentication (proving who you are) from authorization (deciding what you may do). It also assumes you can read JSON. You will learn what an IAM policy is, which types exist, and which question each type answers. The next chapter covers the document 5 min read
05Chapter 5: Anatomy of a policy documentThis chapter assumes you know what an IAM policy is and which policy types exist. It also assumes you can read JSON. Here you will read a policy document element by element, so you can write one and spot the usual mistakes.4 min read
06Chapter 6: Identity-based policies: managed and inlineThis chapter assumes you can read a policy document (Version, Statement, Effect, Action, Resource) and know what IAM users, groups, and roles are. It also assumes you can run AWS CLI commands against a test account.5 min read
07Chapter 7: Organizing users with groupsThis chapter assumes you know what an IAM user is and how identity-based policies are written (Effect, Action, Resource). It covers what a group is, what it cannot do, and how to manage groups from the CLI.4 min read
08Chapter 8: Restricting access with conditionsThis chapter assumes you can read an IAM policy document (Version, Statement, Effect, Action, Resource) and know the difference between an Allow and a Deny. A policy without a condition applies every time the action and resource match. A Condition element narrows that. The statement takes effect o5 min read
09Chapter 9: IAM roles and why they replace long-lived keysThis chapter assumes you know what an IAM user is, how an access key pair works, and how to read a JSON policy with Effect, Action, and Resource. You should also be able to run basic AWS CLI commands. Trust policies and the STS call itself get their own chapters. Here the focus is the role as a conc6 min read
10Chapter 10: Trust policies: who may assume a roleThis chapter assumes you know what an IAM role is, how an identity-based policy is structured (Effect, Action, Resource, Condition), and that you can run the AWS CLI. It covers the policy that controls who may use a role: the trust policy.4 min read
11Chapter 11: Assuming a role with AWS STSThis chapter assumes you know what an IAM role is, how a trust policy names who may assume it, and how to read a policy document. It covers how AWS Security Token Service (STS) turns an allowed AssumeRole call into temporary credentials, how to use those credentials, and the errors you are most li4 min read
12Chapter 12: Roles for AWS services and workloadsThis chapter assumes you know what a role is, how a trust policy differs from a permissions policy, and that STS issues temporary credentials. Here you will see how those pieces apply when the caller is an AWS service or your own code running on AWS, not a person.5 min read
13Chapter 13: Resource-based policiesThis chapter assumes you can read an identity-based policy (Effect, Action, Resource, Condition) and know the difference between a user and a role. It covers policies attached to the resource being accessed, how they differ from identity-based policies, and the errors that come up most often.5 min read
14Chapter 14: Granting access across accountsThis chapter assumes you can read IAM policy JSON and know what an IAM role is. You should also know how a trust policy differs from a permissions policy, and how AWS combines Allow, Deny, and implicit deny. Here you apply those ideas when the caller and the resource sit in different AWS accounts.5 min read
15Chapter 15: How AWS evaluates a request: allow, deny, and implicit denyThis chapter assumes you can read IAM policy JSON and know the difference between an identity-based policy and a resource-based policy. It also assumes you know what a role is. It explains how AWS combines every applicable policy into one decision, and why a request that looks allowed is sometimes r5 min read
16Chapter 16: Guardrails: permissions boundaries and SCPsThis chapter assumes you can read IAM policy JSON, know the difference between identity-based and resource-based policies, and understand the allow, explicit deny, and implicit deny outcomes from policy evaluation. It also assumes you know what an AWS Organizations account hierarchy is.4 min read
17Chapter 17: Working toward least privilegeLeast privilege means a principal gets only the permissions its tasks need, and nothing more. This chapter assumes you can read policy documents (Effect, Action, Resource, Condition). It also assumes you know how policy evaluation combines Allow, Deny, and implicit deny, and that you know what permi5 min read
18Chapter 18: Analyzing and troubleshooting accessThis chapter assumes you know the policy evaluation rules (explicit deny, then allow, otherwise implicit deny). It also assumes you can read policy JSON and run the AWS CLI. Here you will apply those rules to real failures. You will read denial messages, check your identity, simulate requests, and u5 min read