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.1.5.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

yaast-0.1.5-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file yaast-0.1.5.tar.gz.

File metadata

  • Download URL: yaast-0.1.5.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for yaast-0.1.5.tar.gz
Algorithm Hash digest
SHA256 c885dc66da409d84affb543bc5557fdb8be8bc70f393cd0b21f0b2815ba0c885
MD5 9baa1af79ad113d9fc3e862861216583
BLAKE2b-256 dc64ad3edd231adf45e183c19091a93cfb1bd3a4e6832505b20fc807227079e2

See more details on using hashes here.

File details

Details for the file yaast-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: yaast-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for yaast-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5e2dd50f3333b15f69c75628fbc7455b9984b08cd79798b116e0a23bc4f6ed79
MD5 ad161825841bb5ce2edd2ea0434c07cd
BLAKE2b-256 5e2c55777f248ae8fd4401c0c4edc50dd9cca90780d835128cbedd300f939cf2

See more details on using hashes here.

Supported by

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