Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 897 Bytes

README.md

File metadata and controls

28 lines (16 loc) · 897 Bytes

rerole

rerole is a menu wrapper for assume-role

Screencap of rerole in action

Installation

  1. Install assume-role
  2. Globally install @with-heart/rerole:
$ npm i -g @with-heart/rerole
  1. Use the source command found in the postinstall message or by running rerole 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