What is the difference between an IAM user, group and role?
BeginnerConceptGlobal Infrastructure and IAM Basics
Answer
A user is a long-lived identity with a password and/or access keys. A group is just a collection of users to attach policies to; groups cannot be principals and cannot be nested. A role has no credentials of its own: it is assumed by a principal (a user, AWS service, another account, a federated identity) and yields temporary credentials through STS.
Modern practice: humans sign in through IAM Identity Center, workloads use roles, and IAM users are the exception.
More on Global Infrastructure and IAM Basics
What is the difference between a Region, an Availability Zone and an edge location?BeginnerHow do you choose a Region for a workload?BeginnerWhat is the difference between an AZ name like `us-east-1a` and an AZ ID like `use1-az1`?IntermediateExplain the shared responsibility model.BeginnerWhat is the root user and how should you treat it?BeginnerWhat are the main IAM policy types?Intermediate