Skip to content

caius/docker-aws-mfa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-mfa

Simple docker image to run aws-mfa on your machine without having to install Python, etc to get going.

Mount your ~/.aws folder under /root to have it operate on your profile, pass any other arguments you want to docker run.

Usage

To refresh with the max token length possible:

docker run --rm --interactive --tty --volume $HOME/.aws:/root/.aws ghcr.io/caius/aws-mfa:latest --duration 129600

You can also set up a shell alias locally so you don't need to run all that:

alias aws-mfa="docker run --rm --interactive --tty --volume \$HOME/.aws:/root/.aws ghcr.io/caius/aws-mfa:latest --duration 129600"

License

MIT Licensed, see LICENSE for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages