How do you prevent IAM privilege escalation paths?
AdvancedProductionIAM Best Practices
Answer
Know the classic paths: iam:CreatePolicyVersion with set-as-default, iam:AttachUserPolicy/AttachRolePolicy, iam:UpdateAssumeRolePolicy, iam:PassRole plus a compute service, lambda:UpdateFunctionCode on a privileged function, iam:CreateAccessKey on another user, and sts:AssumeRole into a broader role. Mitigate with boundaries on delegated admins, SCPs denying modification of protected roles (path /platform/), Access Analyzer findings, and periodic scans with tools like PMapper or Cloudsplaining.
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