Skip to content

JohnstonCode/aws-2fa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

This will run aws sts get-session-token with the required flags and then update ~/.aws/credentials

By default the default profile in ~/.aws/credentials is used. This can be changed by using the --profile flag

Example usage:

aws-2fa --serial-number arn:aws:iam::123456789:mfa/test --token-code 12345 --mfa-profile mfa_profile

To see all possible options

aws-2fa --help

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published