rerole is a menu wrapper for
assume-role
- Install assume-role
- Globally install
@with-heart/rerole
:
$ npm i -g @with-heart/rerole
- Use the
source
command found in the postinstall message or by runningrerole showCommand
(note: rerole will not work if this step is not completed)
Use the rerole
command to select your desired profile from a menu created from the profiles (and default, if it exists) found in your ~/.aws/config
file. This profile is then used to run the command eval $(assume-role $selected_role)
, which is needed to add the assume-role
environment variables to the current shell.
See the assume-role
readme for more information.
Coming soon