Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TagSession permission to Self-Assume policy #548

Open
BeyondEvil opened this issue Jan 29, 2025 · 0 comments
Open

Add TagSession permission to Self-Assume policy #548

BeyondEvil opened this issue Jan 29, 2025 · 0 comments

Comments

@BeyondEvil
Copy link

Is your request related to a problem? Please describe.

Currently when using the oob self-assume feature, the sts:TagSession permission is not added. It's a very common requirement when assuming roles to have that permission.

Describe the solution you'd like.

I see four possible ways forward:

  • Hardcode it
  • (Re)use the trusted_role_actions
  • Duplicate the trusted_role_actions and create a trusted_self_role_actions (or similar, naming is hard)
  • Use the alternative approach, aka. the workaround, below.

Describe alternatives you've considered.

The current workaround is to use custom_role_trust_policy and provide the trust policy in its entirety "manually".

I'm happy to provide a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant