Skip to main content
Documentation Status https://github.com/MacHu-GWU/pysecret-project/workflows/CI/badge.svg https://codecov.io/gh/MacHu-GWU/pysecret-project/branch/master/graph/badge.svg https://img.shields.io/pypi/v/pysecret.svg https://img.shields.io/pypi/l/pysecret.svg https://img.shields.io/pypi/pyversions/pysecret.svg https://img.shields.io/pypi/dm/pysecret.svg https://img.shields.io/badge/Release_History!--None.svg?style=social https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social
https://img.shields.io/badge/Link-Document-green.svg https://img.shields.io/badge/Link-API-blue.svg https://img.shields.io/badge/Link-Source_Code-blue.svg https://img.shields.io/badge/Link-GitHub-blue.svg https://img.shields.io/badge/Link-Submit_Issue-blue.svg https://img.shields.io/badge/Link-Request_Feature-blue.svg https://img.shields.io/badge/Link-Download-blue.svg

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

  1. access secret in Environment Variable.

  2. access secret in shell script.

  3. access secret in json file from Python.

  4. deploy your secret to AWS Parameter Store and use it in your application code, see AWS Parameter Store example.

  5. deploy your secret to AWS Secret Manager and use it in your application code, see AWS Secret Manager example.

  6. 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

Release files for pysecret 2.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysecret 2.2.4
File Size Uploaded
pysecret-2.2.4.tar.gz 26.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pysecret 2.2.4
File Interpreter ABI Platform
pysecret-2.2.4-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 51.9 kB

Release files / pysecret-2.2.4.tar.gz

Download URL pysecret-2.2.4.tar.gz
Size 26.3 kB
Tags Source
SHA-256 checksum
How to use checksums
abd780868a39388897ac4b6cd59973b586bc8f18771154168925d268466dea29
BLAKE2b-256 checksum
How to use checksums
2e01871b00ea1747ed132702ff9f9b25b3f629e30c0801bed66fe4dc838f9300
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release files / pysecret-2.2.4-py2.py3-none-any.whl

Download URL pysecret-2.2.4-py2.py3-none-any.whl
Size 25.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7880d933f5647032a21113b79ab83ed0718e852a4f50a41999128a4a55377e16
BLAKE2b-256 checksum
How to use checksums
b5f569bd9b1fc80b7b7fb29da45d894010bcd040bff5aa1edc80aaa8d0301b8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release history Release notifications | RSS feed

This release

2.2.4 This release

2 release files

2.2.3

2 release files

2.2.2

2 release files

2.2.1

2 release files

2.1.1

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page