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.8.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a8377f9e8ba24a56732a7748b582307608c3d84d4606ce276cc67956cad7159 |
|
MD5 | c853855cd7e47e1dc40a2c2b1ac784cc |
|
BLAKE2b-256 | b81843e2702b86b50ad8eb51485a045e5256cc09fcd5ca983363adf7e022f347 |
Close
Hashes for kabbes_aws_credentials-0.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c2b139d9983f140ff37631f464f62c6873338a86870d43ebcbac3279ce7bbe8 |
|
MD5 | 49a11d31128fa97b04fbb542476c35e4 |
|
BLAKE2b-256 | 252900a40d1e8fa7e4660c19be8920110d6454a762c1221fb3bbc5b62eeb0ef4 |