0.0.3 • Published 5 years ago

@mhlabs/sam-sso-wrapper v0.0.3

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

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: Demo

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: Demo