Hi All,
Currently our developers have limited access in IAM, they can create roles provided they follow a naming convention and also attach a boundary policy to the role. But how can I prevent them from creating a role that trusts a role from an account outside our organization?
It’s totally feasible that they would do a cross account role for accounts within our organization for collaboration work, but not for outside accounts.
I tried setting a deny on iam:CreateRole with the following condition, but it does not work:
“Condition”: {
“StringNotEquals”: {
“aws:PrincipalOrgID”: [
“o-blahblah”
]
}
},
Is this the incorrect approach? What have you guys done to secure your organization from this issue?
Related discussions:
- Appstream 2.0 Rant
- AWS AI cloud capacity sold out through 2027, 2028 bookings filling fast
- I tested Lambda Web Functions and found ~7 minutes of idle memory billing after requests
- IT Certification Support | Exam Vouchers & Booking | AWS • Azure • PMP • Cisco & More Whatsapp +91 6396163975
- My cost effective way of running ECS