Skip to main content

AWS credentials MFA-Resolver tool

Project description

Yaast (Jåst)

YetAnotherAWSSessionTool

Why? ..After obtaining a normal accessKey set, the MFA enabled user faces the challege of mantaining a daily set of temp accessKeys+token (session) for use with awscli, sdks and the stuff like terraform.

0. Setup "start" profile

aws configure --profile awsops
# PASTE keys from aws csv file ...

vim ~/.aws/config 
# ADD mfa_serial = arn:aws:iam::0000000:mfa/xxxxxxx

1. Execute

Writes a new [default] section into your $HOME/.aws/credentials, after downloading a new SESSION temp access/token set through a "start" profile. Start profile name defaults to [awsops] and should have 'mfa_serial' set, together with accesskeys.

Both the start and dest profiles names can be selected with flags

yaast [-h] [flags] <mfacode>

DEPENDS on botocore

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

yaast-0.0.4.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

yaast-0.0.4-py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 3

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