IAM: Users and Groups

IAM: Permissions

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "s3:ListAllMyBuckets",
                "s3:ListBucket"
            ],
            "Resource": "arn:aws:s3:::*"
        },
        {
            "Effect": "Allow",
            "Action": [
                "s3:GetObject"
            ],
            "Resource": "arn:aws:s3:::*/*"
        }
    ]
}

Least Privilege Principle: Dont give more permissions than a user needs

Permission Inheritance: When a user is added to a new group, they inherit the permissions of the group, permissions are attached to users via the group name

IAM Roles for Services

IAM Security Tools