Skip to content
/ awsp Public

A script to switch between your AWS profiles.

Notifications You must be signed in to change notification settings

AlexNaga/awsp

Repository files navigation

awsp

A script to switch between your AWS profiles.

How to install?

1. Clone this repo

git clone git@github.com:AlexNaga/awsp.git

2. Install dependencies

npm i

3. Update environment variables

After install, change the example values in the file .env

If using Microsoft SSO, the SECRET_MFA_KEY is generated from https://mysignins.microsoft.com/security-info

4. Install globally

By linking it globally, it's possible to run command awsp in the terminal.

npm link

If you get an error zsh: permission denied: awsp, run the following command:

chmod +x ./dist/main.js

How to remove globally?

npm unlink