AWS Solutions Architect – Associate (SAA-C03) · Identity and multi-account security

IAM users, groups, roles and policies

The building blocks of AWS permissions, how AWS evaluates a request, and least privilege in practice.

Members can save this page, take notes and track progress. See membership · Sign in

The idea

Every call to AWS (from the console, the CLI or code) is a request: this principal wants to do this action on this resource. IAM decides whether to allow it. By default the answer is no; something must explicitly allow it, and an explicit deny anywhere always wins.

The pieces are simple:

  • A user is a person or application with long-term credentials (a password, access keys).
  • A group is a set of users that share permissions. Groups only hold users; they can't be nested.
  • A role is an identity with permissions but no long-term credentials. Someone or something assumes it and gets temporary credentials. EC2 instances, Lambda functions, other accounts and federated users all use roles.
  • A policy is a JSON document listing allowed or denied actions on resources.

Premium course

Keep reading with a membership

The rest of this lesson, its practice questions and the whole AWS Solutions Architect – Associate (SAA-C03) course are part of the membership.

See plans Sign in

Reference for this lesson

Free pages on the services and comparisons in this lesson.

Open in the app to mark lessons complete, take notes and track your progress.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake