Skip to content

sts:AssumeRole permissions - not sure how to do that with Policy Sentry's crud templates #287

Closed
@kmcquade

Description

@kmcquade

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionIdeas for discussionenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions