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

Automatically resolve MFA ARN when assuming roles #1

Merged
merged 1 commit into from
Dec 17, 2019
Merged

Automatically resolve MFA ARN when assuming roles #1

merged 1 commit into from
Dec 17, 2019

Conversation

jfgreen-tw
Copy link

If we make the assumption that the currently active credentials (e.g in ~/.aws) are for a MFA enabled User, we can use the caller identity to infer both their username and the ARN of the MFA device associated with them.

The target AWS account is solely specified by the ROLE_ARN parameter.

@tomzo tomzo merged commit c754d3a into nhsconnect:master Dec 17, 2019
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

Successfully merging this pull request may close these issues.

3 participants