@with-heart/rerole
v0.1.0
Published
Menu wrapper for assume-role
Downloads
3
Readme
rerole
rerole is a menu wrapper for
assume-role
Installation
- 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)
Usage
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.
Explanation
Coming soon