@mhlabs/sam-sso-wrapper

0.0.3 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @mhlabs/sam-sso-wrapper

Weekly Downloads

0

Version

0.0.3

License

ISC

Unpacked Size

460 kB

Total Files

7

Last publish

Collaborators

  • mhlabs