trek10inc / awsume

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

bug when using -o flag? #106

Closed blastik closed 4 years ago

blastik commented 4 years ago

Hi folks!

I'm using v4.4.1 and I've realised that now when i run awsume whateverprofile -o whateverprofile apart from updating the credentials file it also sets the environment variables.

is that expected?

thank you

mbarneyjr commented 4 years ago

Yep, it's expected that your environment variables get exported even when using the -o flag. Awsume should always export environment variables so long as it successfully retrieved credentials

blastik commented 4 years ago

@mbarneyjr got it but... does it make sense ? i run -o because i want them only in credentials so i can then switch between the profiles.