awstokensave

This script is for read the env file and then search for the aws temporary credentials after that set it on ~/.aws/credentials file with profile name


Keywords
awstokenex, aws, aws-token, aws-secret, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN
License
MIT
Install
pip install awstokensave==0.1

Documentation

┌──(||||||||||||||)-[~/Scripts]
└─$ python3 export-token.py -h                                                                                                                                           2 ⨯
usage: python3 awsTokenEx.py -f [env_file] -p [ProfileName] 

-------------------------------------------------------------
--------------- | Bulk SSH Login check |---------------------
-------------------------------------------------------------
            _            _____    _            ___     
           /_\__ __ ____|_   _|__| |_____ _ _ | __|_ __
          / _ \ V  V (_-< | |/ _ \ / / -_) ' \| _|\ \ /
         /_/ \_\_/\_//__/ |_|\___/_\_\___|_||_|___/_\_
                                by h4rith.com
-------------------------------------------------------------

[!] Required arguments:
  -f , --file      Environment variable file that contain token.
  -p , --profile   Valid profile name.

---------------- Script from h4rithd.com ----------------