aws-auth

Programmatically authenticate into AWS accounts via IAM roles

brewmacoslinux
Try with needOr install directly
Source

About

Allows you to programmatically authenticate into AWS accounts through IAM roles

Commands

aws-auth

Examples

Authenticate and assume an IAM role in a specific AWS account$ aws-auth --role arn:aws:iam::123456789012:role/MyRole --account 123456789012
Generate temporary AWS credentials for a cross-account role$ aws-auth --profile myprofile --role DevRole --duration 3600
List available roles and accounts for authentication$ aws-auth --list-roles