Skip to content

mhlabs/sam-sso-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED. Sam-cli supports AWS SSO authentication since v1.1.0 via the upgrade of boto3

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

About

Thin wrapper that lets you use sam-cli with profiles and AWS Single Sign-On

Resources

Stars

Watchers

Forks

Packages

No packages published