Interview Prep/AWS/Global Infrastructure and IAM Basics

What are the main IAM policy types?

IntermediateConceptGlobal Infrastructure and IAM Basics
Answer
  • Identity-based policies attach to users, groups and roles.
  • Resource-based policies attach to a resource (S3 bucket, SQS queue, KMS key, role trust policy) and name a Principal.
  • Permission boundaries cap what an identity-based policy can grant.
  • SCPs (and RCPs) in Organizations cap what accounts can do.
  • Session policies passed during AssumeRole or federation further restrict that session.
  • ACLs are legacy resource-level grants (S3, VPC NACLs are unrelated).

Only identity-based and resource-based policies grant permissions. The rest only restrict.

aws All AWS questions Roadmap: AWS core services

More on Global Infrastructure and IAM Basics