Biscuit provides tooling for securely managing secrets used in AWS deployments. This project implements example Python code for reading secrets encrypted with the Biscuit CLI.
Installing
Install with:
$ pip install biscuit-py
Example
from biscuit import biscuit
secrets = biscuit()
with open("secrets.yml", "r") as fp:
secrets.update(yaml.safe_load(fp))
launch_codes = secrets.get("launch_codes")
You can also control the creation/pooling of the AWS KMS client by passing a factory method to biscuit():
secrets = biscuit(lambda region: boto3.client('kms', region_name=region))
Release files for biscuit-py 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| biscuit-py-0.1.2.tar.gz | 3.7 kB | Details |
Release files / biscuit-py-0.1.2.tar.gz
| Download URL | biscuit-py-0.1.2.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c02a18dab926e3fc23a7efebe7913eb990b774b1b6a0ba8e4a9b85674c0c3f7
|
|
BLAKE2b-256 checksum How to use checksums |
54ff5f331e4d8a717906a7dcf31c86788191bae5f5f3e5809965141646069e05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |