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

added env var AWS_PROFILE when AWSUME_FLAG is awsume #39

Closed pwhitehead00 closed 5 years ago

pwhitehead00 commented 5 years ago

Adding env var $AWS_PROFILE when $AWSUME_FLAG is awsume. This allows comatability with the aws segment in powerline shell .

mbarneyjr commented 5 years ago

When the AWS_PROFILE environment variable is set, this causes awscli commands to source credentials from that profile in your ~/.aws/credentials and ~/.aws/config files, instead of the credentials from the sts assume-role or sts get-session-token calls awsume stores in the environment variables

If you have any questions please feel free to reach out

Thanks for the PR!

Closing