Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 262 Bytes

File metadata and controls

14 lines (8 loc) · 262 Bytes

aws-cli-mfa

Shell script to set MFA session token in the AWS credentials file

Requirement

Command line JSON processor jq

sudo apt-get install jq

Usage

Set up ~/.aws/credentials with mfa_device= as in template

./awsmfa.sh profile1 123456