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.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88f34d843b3eaa5533b41a43e50850c40977557de27354882101239a5314bb58 |
|
MD5 | b8c5405251372c7a0aa4bdc8ba7b2353 |
|
BLAKE2b-256 | 7b47b1d4af292b55b4a45ca5c6dbca2da41aad1d799004076241a81886631a47 |
Close
Hashes for kabbes_aws_credentials-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3336a9a28e3edc68db2bfb77e44946767e9a7d7a02cf1e5f30e420d38ed9185e |
|
MD5 | c285128869c5ac1133f16be1179749cd |
|
BLAKE2b-256 | 6a065dc5def33d0d582ab0a2fcae7dbe15230fdd67a15cd672d520ef23a19fd3 |