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 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page