CLI Tool for creating a profile based on AWS STS Session Token
aws sts get-session-token ....
AWS CLI can not do that.
Install with npm
npm install --global @szczepanski/aws-mfa-profile
aws-mfa-profile
# Enter AWS profile name "default"
# Enter AWS MFA profile name "default-mfa"
# Enter MFA token "1234"
- AWS CLI (version 2)
- Node.js