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_credentials
aws_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
Close
Hashes for kabbes_aws_credentials-0.9.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ed535ac0926a493df841ca037b84aa76f67661c830f254b8700fa34b8faba4f |
|
MD5 | eeb327b0ef222c14ec9a8f5926d0f5fe |
|
BLAKE2b-256 | b4ac3b8e6cf0926828f4687f502972cac58dd300965bfcee4c1e668dc63f417f |
Close
Hashes for kabbes_aws_credentials-0.9.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1691e27e334434110f640a417ebeedcd67c585024febbe124080bfd91381ff1d |
|
MD5 | 7048820a0062163796d02cbeaf40ae45 |
|
BLAKE2b-256 | 29765d5d982ac897cd3d1f0e2cb095dfb82f5991c12f12573db2c06f679f0ff0 |