heyibrahimkhan / aws_temp_creds_generator

Generate & configure temporary AWS credentials.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

Generate temporary AWS STS credentials based on a preconfigured AWS profile. New credentials will be saved fresh/overwrite in the form of a child AWS profile. Script requires several parameters to be configured for it to work otherwise it may not work.

How to execute

pipenv install
pipenv run python script.py -h
pipenv run python .\script.py -s arn:aws:iam::112233445566:mfa/user -pp parent_profile_name -cp child_profile_name -t 123456

About

Generate & configure temporary AWS credentials.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%