Skip to main content

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


Download files

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

Source Distribution

AWS MFA Helper-1.1.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

AWS_MFA_Helper-1.1.0-py2.py3-none-any.whl (5.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file AWS MFA Helper-1.1.0.tar.gz.

File metadata

File hashes

Hashes for AWS MFA Helper-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c1c75c5ba6353fd1a7eaf3369e3d499b22602a6199b6ccc3c5e97a92e135473a
MD5 23355679887973714bb1d44172e6acac
BLAKE2b-256 c178988beea2435afed3c567a4f456ed3b0566e2dd126e51aaa7fd24ae8c0dd8

See more details on using hashes here.

File details

Details for the file AWS_MFA_Helper-1.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for AWS_MFA_Helper-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 05d4aad3b59d2866ce419a2eb6d5576ad7a61238e9c0701002276d2fff53db54
MD5 de8e6fef8b9e8ba799568bf943e38a19
BLAKE2b-256 ffbe669901612a5659f9e32e37ad809488126c7b9c9387fbe3f65fc474a04125

See more details on using hashes here.

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