AWS IAM in practice: least privilege without the guesswork

Read and write IAM policies with confidence, use roles, conditions, permission boundaries and Access Analyzer to grant only what each workload needs

7 ratings 1,380 students Sample

Created by David Okafor

  • Updated September 2026
  • English
  • Intermediate

What you will learn

  • Explain the complete IAM policy evaluation logic, including explicit denies and boundaries
  • Write identity and resource policies scoped to specific actions, resources and conditions
  • Replace long term access keys with roles and OIDC federation
  • Set up IAM Identity Center with permission sets for a team
  • Use Access Analyzer to find unused access and external sharing
  • Apply organisation wide guardrails with SCPs and RCPs

Course content

6 sections, 24 lessons, 3h 50m total

How AWS decides: the evaluation model 5 lessons · 46 min
  • Video: Anatomy of a request Preview 9 min
  • Article: Reading policies line by line Preview 11 min
  • Article: Roles, trust policies and temporary credentials 11 min
  • Article: Conditions and tags: precise access 10 min
  • Quiz: Check your understanding 5 min
Access for people 4 lessons · 38 min
  • Video: IAM Identity Center and permission sets 12 min
  • Video: Finding and removing long term keys 9 min
  • Article: Break glass and emergency access 8 min
  • Video: MFA everywhere it matters 9 min
Access for workloads 4 lessons · 41 min
  • Video: Roles for EC2, ECS and Lambda 10 min
  • Article: OIDC federation for GitHub Actions 12 min
  • Video: Cross account roles for deployments 10 min
  • Video: Service linked roles and passing roles 9 min
Resource policies and data protection 3 lessons · 31 min
  • Article: Bucket policies that enforce good behaviour 11 min
  • Video: KMS key policies explained 11 min
  • Video: Sharing resources safely across accounts 9 min
Finding and fixing excess access 4 lessons · 40 min
  • Article: IAM Access Analyzer for external access 10 min
  • Video: Unused access and last accessed data 10 min
  • Video: Generating policies from CloudTrail activity 9 min
  • Article: Permission boundaries for delegated administration 11 min
Organisation guardrails 4 lessons · 34 min
  • Video: Service control policies 11 min
  • Video: Resource control policies 9 min
  • Article: An IAM review checklist for your team 8 min
  • Quiz: Final check 6 min

Requirements

  • Basic AWS experience with IAM users, roles and the console
  • The AWS CLI installed and configured
  • An AWS account where you have administrator access for practice

Description

IAM is where AWS security succeeds or fails. Most teams know they should follow least privilege, but in practice permissions grow: a wildcard added to fix a deploy, a managed policy attached because it worked, an old access key nobody remembers creating. This course gives you a method for doing better without slowing your team down.

What you will learn

  • Exactly how AWS evaluates a request, across identity policies, resource policies, permission boundaries, session policies and organisation policies
  • Writing precise policies with resources, conditions and tags
  • Roles for workloads, cross account access and federation from CI systems with OpenID Connect
  • Identity Center for people, with permission sets and short lived credentials
  • Using IAM Access Analyzer to find external access, unused permissions and to generate policies from activity
  • Guardrails with service control policies and resource control policies in AWS Organizations

How we work

Each lesson starts from a realistic request, such as "the reporting job needs to read one bucket" or "contractors need read only access to staging", and we build the policy, test it with the policy simulator and the CLI, then try to break it. You will practise in your own account with resources that cost little or nothing.

Who this course is for

  • Cloud and DevOps engineers responsible for AWS accounts
  • Developers who write IAM policies for their own services
  • Security engineers reviewing AWS access

Instructor

David Okafor

Cloud engineer teaching AWS foundations and IAM with a security first, hands on approach

  • 4.4 instructor rating
  • 15 reviews
  • 6,130 students
  • 2 courses
  • Sample

I design and run AWS accounts for small and mid sized engineering teams. Much of that work is unglamorous: tidy IAM policies, sensible networking, budgets and alarms that warn people before the bill does.

My teaching style is to build each concept in the console once so you can see it, then repeat it with the AWS CLI so you understand what the console did for you. I explain the why behind defaults, because most cloud incidents I have seen started with a default nobody questioned.

My courses stay inside the AWS Free Tier where possible and always end with a cleanup lesson, so you never get a surprise charge from practice resources.

View profile

Student reviews

4.4 7 ratings
5 star 57%
4 star 29%
3 star 14%
2 star 0%
1 star 0%
Felix W. Sep 27, 2026
Sample

KMS key policies demystified

The lesson on key policies explained why our admin role could not decrypt objects. Very clear.

Stefan M. Sep 9, 2026
Sample

The evaluation model lesson is superb

I finally understand why adding permissions did not fix our AccessDenied errors. It was an SCP all along.

Grace H. Aug 25, 2026
Sample

OIDC lesson removed our CI keys

We replaced long term keys in GitHub Actions with OIDC the same week. The warning about loose subject conditions was important.

Camille J. Aug 8, 2026
Sample

PassRole explained clearly

I had seen iam:PassRole in policies for years without understanding the risk. Now I review it carefully.

Rohan V. Jul 2, 2026
Sample

Dense but very valuable

Lots of detail on conditions and boundaries. I needed to pause often, but everything was accurate and practical.

Ivan D. May 11, 2026
Sample

Great for security reviews

The checklist at the end is now part of our quarterly AWS review. More examples with Organizations would be welcome.

Lerato N. Mar 12, 2026
Sample

Assumes a lot of prior AWS

Good content, but it moves quickly if you have only used IAM through the console.

$49.99 Enroll now
SampleSample catalog: the instructors, courses, reviews and stats on this site are demo content.