awsume

Utility for easily assuming AWS IAM roles from the command-line

brewmacoslinux
Try with needOr install directly
Source

About

Utility for easily assuming AWS IAM roles from the command-line

Commands

awsume

Examples

List all available AWS roles configured for assuming$ awsume -l
Assume a specific AWS IAM role and export credentials$ awsume role-name
Assume a role with MFA token$ awsume role-name --mfa-token 123456