@mhlabs/sam-sso-wrapper
v0.0.3
Published
Thin wrapper that lets you use AWS SSO with SAM-cli
Downloads
4
Readme
sam-sso-wrapper
Thin CLI client that lets you use sam-cli with AWS Single Sign-On and with your configured AWS profiles.
Installation
npm install -g @mhlabs/sam-sso-wrapper
Usage:
sam-sso [args to pass on to sam-cli] --profile <profileName>
Example:
sam-sso deploy --guided --profile test
If the --profile flag is omitted, your default profile is used If the --profile flag is included you will get prompted with a list of your configured profiles:
Using alias
In your ~/.bashrc (or your OS equivalent), add the following:
export SAM_BIN_PATH=/home/linuxbrew/.linuxbrew/bin/sam # Or where your sam-cli binary is located
alias sam='sam-sso'
This lets you use standard sam-cli operations with SSO auth: