Skip to main content

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

Project description

┌──(||||||||||||||)-[~/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 ----------------

Change Log

0.0.1 (18/08/2022)

  • First Release

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

awstokenex-0.1.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file awstokenex-0.1.tar.gz.

File metadata

  • Download URL: awstokenex-0.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for awstokenex-0.1.tar.gz
Algorithm Hash digest
SHA256 684cee6941468e7845090c9b3e24e8906823043608d77df7f807507f5e55d6dc
MD5 ac2e7d1351bd4529601671fe8334f793
BLAKE2b-256 97e1710662bb27e72169af8f42159f4a1e70daf4ae5b506ffeff63dd7546dfdf

See more details on using hashes here.

Supported by

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