Sean Nguyen
12/09/2025, 10:04 PMSean Nguyen
12/09/2025, 10:06 PMpaulm
12/10/2025, 12:11 AM"*" for actions that support more specific, "resource-level" permissions (ARNs for one or more resource types; service-specific or global condition keys), these tools can't tell people the best remedy, which is going to be specific to the AWS environment in question and to the application.
Also problematic are the numerous actions that depend on other actions. Tools are only as good as the documentation. Though AWS has added a "Dependent actions" column to the IAM manual, the information is not 100% complete.
There are undocumented holes in the permissions system, such as the reality that granting ec2:CreateImage amounts to granting ec2:RebootInstances . I've begged AWS for years to at least document that one. (Obviously, reducing existing permissions is fraught, and is done only rarely, for example, when permission for an IAM role to assume itself was removed a few years ago and people had to start adding that permission explicitly if it had been their intention. A palatable solution would be letting action Deny on ec2:RebootInstances cause ec2:CreateImage to fail when called with NoReboot set to false.)
There is also funny business involving tag-on create, if you use CloudFormation and strict deployment roles. Some cases where a request tag condition key should allow creation of a resource tagged specifically for the intended stack, and a resource tag condition key should allow modification and deletion, will break. Because tag-on-create was gradually added to AWS API methods, I suspect that CloudFormation does not always take advantage of it, but instead still makes some follow-up tagging calls.
Last but not least are opaque permissions that just aren't documented. Sometimes, achieving a true least-privilege policy requires trial-and-error with CloudTrail.
In short, training, expertise, experience, experimentation, and human collaboration are necessary if you need good-quality, least-privilege IAM policies.