Skip to main content

Manage temporary MFA AWS credentials.

Project description

awsmfa simplifies multi-factor authentication with AWS by managing your ~/.aws/credentials [default] profile.

If you are a small team with long-lived AWS access keys sitting on developer machines, and you are looking for an easy way to improve security, this might be a good starting point for you. The package includes a sample set of IAM policies (in a CloudFormation template) to get you started.

Example:

$ pip3 install --user awsmfa
...
$ aws configure --profile identity
...
$ awsmfa.py --token-code 123456
Temporary credentials will expire in 5:59:59.746453.
$ aws configure --profile identity get aws_access_key_id
AKIAJ4USW7NKYGKGBBRA
$ aws configure get aws_access_key_id
ASIAJNCNEPCCQQRHKTBQ

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

awsmfa-0.2.tar.gz (5.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page