This is the context switch helper for aws sso login
.
This script assumes that aws configure sso
has been done.
$ asctx help
This is the context switch helper for 'aws sso login'
usage:
asctx : show context list or use peco to filter context
asctx config : edit configuration file
asctx clear : clear context information
asctx help : show this message
$ asctx
# a filter using peco
# open browser
Successfully login to <profile>
$ git clone https://github.com/m3y/asctx.git
$ alias asctx="source /path/to/asctx/asctx"
Inspired by kubectx