awslabs / aws-shell

An integrated shell for working with the AWS CLI.
Apache License 2.0
7.15k stars 770 forks source link

support for multiple profiles #89

Closed umang1912 closed 8 years ago

umang1912 commented 8 years ago

I use multiple aws accounts, and aws credentials file has good support for profiles with separate keys. Would be good to have here.

docent-net commented 8 years ago

Same here; would be nice to be able to provide "--profile" param or to switch between accounts within ui

elloboblanco commented 8 years ago

Third vote! It would be nice to have a currently active profile so you don't have to specify --profile interactively every time.

@umang1912 and @docent-net you can use --profile on individual commands

aws> ec2 describe-instances --profile PersonalAccount
miked63017 commented 8 years ago

This would also be really useful if it had some sort of saml procedures built in, that would automatically select the new saml profile.

donnemartin commented 8 years ago

Thanks for the feedback everyone!

More discussion at https://github.com/awslabs/aws-shell/issues/9

jamesls commented 8 years ago

Working on it.

jamesls commented 8 years ago

Implemented via https://github.com/awslabs/aws-shell/pull/92