aws-profile-switch
Small utility to switch default aws cred profile
Install
npm install -g api-profile-switch
Usage
list profiles
aws-profile-switch list
switch profile
# if you are switching for the first time aws-profile-switch switch PROFILE_TO_SWITCH_TO -n WHAT_TO_CALL_THE_OLD_ONE # otherwise aws-profile-switch switch PROFILE_TO_SWITCH_TO