Skip to main content

biscuit-py decrypts secrets managed by Biscuit. Credits to Doug Coker.

Project description

https://img.shields.io/pypi/v/biscuit-py.svg?maxAge=600:target:

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))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

biscuit-py-prima-airflow-0.1.0.tar.gz (7.9 kB view details)

Uploaded Source

File details

Details for the file biscuit-py-prima-airflow-0.1.0.tar.gz.

File metadata

File hashes

Hashes for biscuit-py-prima-airflow-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3e4f8ebe4477300bc6597880a05d8f732fbf7f94377714d47bfe8f5e6b5ebf79
MD5 b55d33dd6b92f2f280f81092b178bcf4
BLAKE2b-256 7908c8e05add4daca16b1684a8f7924b4f355ada192c3c8bad8feab5488f4ec7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page