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
Release files for yaast 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yaast-0.1.5.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yaast-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.0 kB
Release files / yaast-0.1.5.tar.gz
| Download URL | yaast-0.1.5.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c885dc66da409d84affb543bc5557fdb8be8bc70f393cd0b21f0b2815ba0c885
|
|
BLAKE2b-256 checksum How to use checksums |
dc64ad3edd231adf45e183c19091a93cfb1bd3a4e6832505b20fc807227079e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|
Release files / yaast-0.1.5-py3-none-any.whl
| Download URL | yaast-0.1.5-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e2dd50f3333b15f69c75628fbc7455b9984b08cd79798b116e0a23bc4f6ed79
|
|
BLAKE2b-256 checksum How to use checksums |
5e2c55777f248ae8fd4401c0c4edc50dd9cca90780d835128cbedd300f939cf2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|