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.7.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a935b662a85106906d067c3de98a5e9f35f3ccaaf11e0a1cd5f3ae2aa1bda9ce |
|
MD5 | 8b3986acab88709cf22329de84a7b2ed |
|
BLAKE2b-256 | 306938cd2e1f7f10d8f9a377a06272c5a2e5b900515afc4ecdcb07287f4e8e5c |
Close
Hashes for kabbes_aws_credentials-0.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c3a5fe25dc233b7dec34a358150288c7bbcfe7a862ade714639e12f85540441 |
|
MD5 | 818365db865d6842007cefb9c6ba5760 |
|
BLAKE2b-256 | f4ab306e1f5800c0d358a21998eb12f989e79ce61872be65832b0992be8828d9 |