Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Utility that obtains STS credentials and saves your AWS credentials file.

Project description

AWS MFA Helper

Automate obtaining MFA (STS) credentials

This utility will request STS credentials from AWS, then update ~/.aws/credentials with the new credentials. STS credentials are stored in a profile suffixed with -mfa.

If you have TOTP Generator installed this utility will attempt to automate the TOTP code generation.

You will need to update your AWS configuration (~/.aws/config) with the following settings:

[profile my-aws-profile]
helper_mfa_serial = (your MFA ARN)
helper_totp_service_name = (Optional: service name in TOTP Generatior)

If you need to change the STS/MFA credentials suffix in the aws config file, create ~/.aws_mfa_helper.cfg with the following:

mfa_creds_suffix = your-new-suffix

Run with the --help flag for more information.

Project details


Release history Release notifications

This version
History Node

1.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
AWS_MFA_Helper-1.1.0-py2.py3-none-any.whl (5.5 kB) Copy SHA256 hash SHA256 Wheel py2.py3 May 28, 2018
AWS MFA Helper-1.1.0.tar.gz (5.4 kB) Copy SHA256 hash SHA256 Source None May 28, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page