Skip to main content

system for quickly updating AWS credentials and importing them into Python scripts

Project description

aws_credentials

System for quickly importing AWS credentials into Python scripts

Documentation
PyPI


Installation

pip install kabbes_aws_credentials


Usage

For more in-depth documentation, read the information provided on the Pages. Or better yet, read the source code.

import aws_credentials
role = 'myawsrole'
print ( aws_credentials.Creds[ role ].dict )
>>> { 'aws_access_key_id': 'XXXXXX', 'aws_secret_access_key': 'XXXXXX' }

Updating AWS Credentials


1. Copy credentials in this format to your clipboard

[aws_role]

aws_access_key_id=XXXXXX

aws_secret_access_key=XXXXXX

2. Run one of the following

  • python -m aws_credentials
  • aws_credentials.update()

3. Verify the aws_credentials/aws_creds.txt file is updated


Author

James Kabbes

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

kabbes_aws_credentials-0.9.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kabbes_aws_credentials-0.9.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file kabbes_aws_credentials-0.9.0.tar.gz.

File metadata

  • Download URL: kabbes_aws_credentials-0.9.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.63.1 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for kabbes_aws_credentials-0.9.0.tar.gz
Algorithm Hash digest
SHA256 3ed535ac0926a493df841ca037b84aa76f67661c830f254b8700fa34b8faba4f
MD5 eeb327b0ef222c14ec9a8f5926d0f5fe
BLAKE2b-256 b4ac3b8e6cf0926828f4687f502972cac58dd300965bfcee4c1e668dc63f417f

See more details on using hashes here.

File details

Details for the file kabbes_aws_credentials-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: kabbes_aws_credentials-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.63.1 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for kabbes_aws_credentials-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1691e27e334434110f640a417ebeedcd67c585024febbe124080bfd91381ff1d
MD5 7048820a0062163796d02cbeaf40ae45
BLAKE2b-256 29765d5d982ac897cd3d1f0e2cb095dfb82f5991c12f12573db2c06f679f0ff0

See more details on using hashes here.

Supported by

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