aws2-wrap

Export AWS SSO credentials or run commands with temporary AWS credentials

brewmacoslinux
Try with needOr install directly
Source

About

Script to export current AWS SSO credentials or run a sub-process with them

Commands

aws2-wrap

Examples

Export AWS SSO credentials to current shell session$ eval $(aws2-wrap --profile my-profile)
Run AWS CLI command with SSO credentials$ aws2-wrap --profile my-profile aws s3 ls
Start an interactive shell with AWS SSO credentials$ aws2-wrap --profile my-profile bash