How do you structure roles for an application with several components?
BeginnerProductionIAM Best Practices
Answer
One role per component per environment (orders-api-prod, orders-worker-prod), never a shared "app role". Each has only the actions and resources that component needs. Use role paths (/app/orders/) so PassRole and boundaries can match patterns. Shared roles make blast radius larger and make CloudTrail investigation harder because you cannot tell which component made a call.
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?IntermediateHow does ABAC with Identity Center work, and when is it worth it?AdvancedWhen do you use permission boundaries in production?IntermediateHow do you remove long-lived access keys from an existing estate?Intermediate