Skip to content

erpost/aws-force-mfa

Repository files navigation

Enforce AWS MFA for a User in both the GUI and CLI

  • Attach JSON AWS IAM Policy to User
  • Run 'get-session-credentials' to use current AWS Access Keys to pull STS credentials
    • Script will backup current Keys and use STS credentials
  • Run 'replace-credentials-file' to move original Keys back

Tested with Python 3 on MacOS, Mac OS X and Windows 10

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages