trek10inc / awsume

A utility for easily assuming AWS IAM roles from the command line.
https://awsu.me
MIT License
494 stars 90 forks source link

Allow awsume to use a source profile that already has a session token #55

Closed aarongorka closed 5 years ago

aarongorka commented 5 years ago

This is useful if you are using an external tool to authenticate via e.g. SAML and write the credentials to the ~/.aws/credentials file.

aarongorka commented 5 years ago

Any thoughts on this? I can add a test if it looks good.

eddyaman commented 5 years ago

This looks good to me, please feel free to merge

aarongorka commented 5 years ago

@eddyaman only after opening the PR I realised that someone already opened a PR with the exact same change https://github.com/trek10inc/awsume/pull/54, might make more sense to merge his :)