trek10inc / awsume

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

add support for session-name on cli #16

Closed giuliocalzolari closed 6 years ago

giuliocalzolari commented 6 years ago

add support for session-name on cli

giuliocalzolari commented 6 years ago

@mbarneyjr

giuliocalzolari commented 6 years ago

h @mbarneyjr do you have update?

felipe1982 commented 6 years ago

I don't understand the purpose of this PR. What extra functionality does it provide? What's the use case for it?

giuliocalzolari commented 6 years ago

when you perform a sts switch role you cannot specify the session name, in same use case is nice to set it for audit purpose. only performing an sts:assumerole action the original username is preserved but if you do a sts:getsessiontoken in the destination account you only see the session name.

having the option to setup the session name with a custom string could be a nice feature

mbarneyjr commented 6 years ago

@giuliocalzolari I apologize for the late response, but I have just merged your changes, thanks for the PR!