Get DB Secrets
Project description
cashify-python-db-secret
Cashify Python Repo to get Database values from AWS Secret manager.
Pre-requisite:
- Boto3 library (https://pypi.org/project/boto3/)
How to use:
- Use steps under if want to use directly from source code
- Install library using pip install git+https://git@github.com/saket-cashify/cashify-python-db-secret.git
- Simply import the package and use function "get_secret" with arguments (secret_name, region_name) in try block and "get_secret_fallback" with arguments (secret_name, region_name) in except block to get general secret.
- add this line to requirements.txt file to install "-e git+https://git@github.com/saket-cashify/cashify-python-db-secret.git#egg=cashifypythondbsecret" automatically
- Use these steps to use from PyPi
- pip install cashifypythondbsecret
- Simply import the package and use function "get_secret" with arguments (secret_name, region_name) in try block and "get_secret_fallback" with arguments (secret_name, region_name) in except block to get general secret.
- cashifypythondbsecret==0.0.1 to requirements
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 cashifypythondbsecret-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c25dd2f0b1aef60abae283b46cf95f861cf41c6564ea2ac60b0f5f28ad0dbd2b |
|
MD5 | edef877ec2a010527f3d62b5e0678af7 |
|
BLAKE2b-256 | a711c3c42d16560d17a32b4daadb529b414837d0e432060cda1d53830527400c |
Close
Hashes for cashifypythondbsecret-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b81c9fc4c2866d85c0682b863c77c2663e7b684cbb5ecd567892e8ed76096a04 |
|
MD5 | 0228a9e26176df19a36463675f766cac |
|
BLAKE2b-256 | 9c6f32c8e5d15b064a39a7aaf970b1f31add0c5e43b4e5e1f4128f36df327b70 |