A set of utilities to use with AWS
Project description
# PNMAC Secrets Manager Utility
[[_TOC_]]
## To Install
pip install pnmac-aws-common
## Secrets Manager
Used to fetch AWS secrets per the company’s pattern for secrets management.
This code expects that a “secrets_path” is either provided to the function or established as an environment variable called “secrets_path”.
It will try to get your secrets from manager.
Should you not have access to the secrets manager (for example, while during local development) environment variables are returned in that case. So simply add your secrets as environment variables to accomodate this case.
## SQS
A set of utilities to chunk data for queues. TODO: add a bit of logic that manages on body size to make sure we don’t hit the 256kb limits.
## Packaging
python setup.py bdist_wheel python -m twine upload dist/*
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file pnmac_aws_common-0.0.7-py2-none-any.whl
.
File metadata
- Download URL: pnmac_aws_common-0.0.7-py2-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/18.5 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 409a13e7ff21790c9bf29800fbf9c4c4c10708e821723889d12da536cef302a3 |
|
MD5 | 8204bc7c62f0f19737e21756cae6cb4d |
|
BLAKE2b-256 | 925e00593defbafc083399351c34d0c008e2a96b775af3c84919bdeee4f5c419 |