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

Cross account role chaining for non-sso managed IAM roles... #1087

Open
wealdling opened this issue Oct 24, 2024 · 0 comments
Open

Cross account role chaining for non-sso managed IAM roles... #1087

wealdling opened this issue Oct 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@wealdling
Copy link

wealdling commented Oct 24, 2024

I'm not sure if I'm just not understanding the documentation, or if I am misreading the ability to do this. I have an IAM role with a trust relationship established to an SSO managed Role in a different account. I've tried accomplishing this with the "via" key, only defining the parent role in the other account, referencing the accountID:role as a value, referencing the accountFriendlyName:role as a value, all to no avail.

I've also tried to setup the prescribed .aws/config entry with source_profile pointing to the managed SSO Role, then running config-setup, with no success.

Given that it seems you're leveraging STS Assume Role recursively, I think this should be something that just works. Am I missing how to accomplish it/doing something wrong, or is this a valid feature request? I'd like to be able to run aws-sso eval unmanagedProfile and have it login via the referenced SSO managed account, then assume the unmanaged role and provide exports as normal.

@wealdling wealdling added the enhancement New feature or request label Oct 24, 2024
@wealdling wealdling changed the title Cross Account Role Chaining for non-sso managed IAM roles... Cross account role chaining for non-sso managed IAM roles... Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant