IAM group
A collection of IAM users that share the same policies, so access is managed by changing membership rather than editing documents.
In more detail
Name a group after the job it enables, such as billing readers, and attach that job’s policy to it. A user can belong to several groups and receives the combination of all their permissions. Groups are for people; they cannot be named as a principal or assumed.
Example
aws iam list-groups-for-user --user-name analyst --query 'Groups[].GroupName'Related terms
- IAM user — A named, long-lived identity in an AWS account, with an optional console password and optional access keys.
- IAM policy — A JSON document that lists which actions are allowed or denied on which resources, and under which conditions.
- effective permissions — Everything an identity can actually do once all its policies, from all its groups, roles and resources, are combined.
Taught in
- Users, Groups and Roles — Cloud Infrastructure & Hyperscaler Architecture