Assume Role requires to have installed the following:
Into the root project, execute the following command:
$ ./assume-role install
Assume Role copies itself into /usr/local/bin
to be widely available.
$ assume-role add <profile>
You will be asked to fill the needed information to create a AWS Session through the Okta AWS CLI Assume Role tool
which are:
- The Okta orgianization (OKTA_ORG).
- The AWS APP URL (OKTA_AWS_APP_URL) that you can get by login the browser and then copy the link for the chiclet.
- The AWS default region (AWS_REGION)
- The AWS default output (AWS_OUTPUT)
Deletes the profile
$ assume-role remove <profile>
Displays a list of all available profiles
$ assume-role list
$ assume-role login <profile>
Logout will invalidate all present sessions.
$ assume-role logout