Closed
Description
I'm not actually sure how to include sts:AssumeRole
in the permissions using Policy Sentry.
policy_sentry query action-table --service iam --access-level permissions-management
That doesn't give anything with sts
.
I think we might need to give this special treatment. I'd like to propose two options:
Option 1: assumeRole section
This would have the section dedicated to sts:AssumeRole
. That might be excessive.
Option 2: K/V pairs of actions to resource ARNs
This would essentially allow you to specify individual AWS actions and resource ARNs that you want. We'd need to be careful to not allow this to be a super easy bypass mechanism.
sectionname:
- action: "sts:AssumeRole"
resource: "arn:aws:iam::12345678912:role/myrole"
User input would be appreciated here.