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
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_credentialsaws_credentials.update()
3. Verify the aws_credentials/aws_creds.txt file is updated
Author
James Kabbes
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ed535ac0926a493df841ca037b84aa76f67661c830f254b8700fa34b8faba4f
|
|
| MD5 |
eeb327b0ef222c14ec9a8f5926d0f5fe
|
|
| BLAKE2b-256 |
b4ac3b8e6cf0926828f4687f502972cac58dd300965bfcee4c1e668dc63f417f
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1691e27e334434110f640a417ebeedcd67c585024febbe124080bfd91381ff1d
|
|
| MD5 |
7048820a0062163796d02cbeaf40ae45
|
|
| BLAKE2b-256 |
29765d5d982ac897cd3d1f0e2cb095dfb82f5991c12f12573db2c06f679f0ff0
|