How do you handle service-to-service access between accounts at scale?
AdvancedProductionIAM Best Practices
Answer
Prefer resource policies with aws:PrincipalOrgID or aws:PrincipalOrgPaths for org-wide sharing (S3, SQS, SNS, KMS, Secrets Manager, ECR), and role assumption only where a resource policy is not supported. For API-level calls between services, use PrivateLink endpoint services or VPC Lattice with IAM auth policies (SigV4) so each call is authenticated by the caller's role. This avoids a mesh of N x N trust policies.
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