How does ABAC with Identity Center work, and when is it worth it?
AdvancedProductionIAM Best Practices
Answer
Identity Center passes user attributes from the IdP (for example team or costCenter) as session tags. Policies then compare aws:PrincipalTag/team with aws:ResourceTag/team:
"Condition": {"StringEquals": {"aws:ResourceTag/team": "${aws:PrincipalTag/team}"}}
One permission set then serves every team, and new teams need no new policies. It is worth it when you have many teams sharing accounts; it requires strict tagging enforcement (tag on create, deny tag modification) or users can retag resources into their scope.
More on IAM Best Practices
What does least privilege look like in practice, not in theory?BeginnerWhat are the IAM rules you enforce for humans?BeginnerHow do you design Identity Center permission sets for many teams?IntermediateWhen do you use permission boundaries in production?IntermediateHow do you remove long-lived access keys from an existing estate?IntermediateHow do you implement just-in-time privileged access in AWS?Advanced