rolesanywhere-credential-helper

Get temporary AWS security credentials from IAM Roles Anywhere

brewmacoslinux
Try with needOr install directly
Source

About

Manages getting temporary security credentials from IAM Roles Anywhere

Commands

rolesanywhere-credential-helper

Examples

Display help information and available options$ rolesanywhere-credential-helper --help
Fetch temporary credentials using a certificate and private key$ rolesanywhere-credential-helper --certificate /path/to/cert.pem --private-key /path/to/key.pem --role-arn arn:aws:iam::ACCOUNT:role/ROLE_NAME --trust-anchor-arn arn:aws:rolesanywhere:REGION:ACCOUNT:trust-anchor/TRUST_ANCHOR_ID
Export credentials as environment variables for AWS CLI use$ eval $(rolesanywhere-credential-helper --certificate cert.pem --private-key key.pem --role-arn arn:aws:iam::123456789012:role/MyRole --trust-anchor-arn arn:aws:rolesanywhere:us-east-1:123456789012:trust-anchor/TA123456)