A library letting you easily retrieve a secret value from Aws Secrets Manager
The project is written by Deividas Tamkus, supervised by Laimonas Sutkus and is owned by iDenfy. This is an open source library intended to be used by anyone. iDenfy aims to share its knowledge and educate market for better and more secure IT infrastructure.
This project utilizes the following technology:
- AWS (Amazon Web Services).
- AWS SecretsManager.
The project is built and uploaded to PyPi. Install it by using pip.
pip install aws-get-secret
Or directly install it through source.
./build.sh -ic
This project allows you to get secret values from Aws Secrets Manager by just knowing secret's ID.
To retrieve a secret called MyCoolSecret
use the following code snippet below.
from aws_get_secret.get_secret import GetSecret
secret_getter = GetSecret()
secret_value = secret_getter.MyCoolSecret
print(f'My super secret is: {secret_value}!')