Release v2.2.4 (What’s new?).
Welcome to pysecret
Documentation¶
pysecret
is a library to ease your life dealing with secret information.
For example, if you have a database connection information, so you should not include it in your source code. pysecret
is the library that provides several options to deploy or access your secret data securely.
Features
access secret in Environment Variable.
access secret in shell script.
access secret in json file from Python.
deploy your secret to AWS Parameter Store and use it in your application code, see AWS Parameter Store example.
deploy your secret to AWS Secret Manager and use it in your application code, see AWS Secret Manager example.
use AWS Key Management Service to encrypt or decrypt your data, see AWS KMS example.
Install¶
pysecret
is released on PyPI, so all you need is:
$ pip install pysecret
To upgrade to latest version:
$ pip install --upgrade pysecret