Skip to main content

biscuit-py decrypts secrets managed by Biscuit.

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-0.1.5.tar.gz (9.5 kB view details)

Uploaded Source

File details

Details for the file biscuit-py-prima-0.1.5.tar.gz.

File metadata

  • Download URL: biscuit-py-prima-0.1.5.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for biscuit-py-prima-0.1.5.tar.gz
Algorithm Hash digest
SHA256 798b4b094f57c120f1211e5c78ad7329e21654148b76ef8811deca3fc956bb81
MD5 636e4b2cb96c828ae8cf235404244f1d
BLAKE2b-256 3a014aa4e49e0e3d318d9066db9c8a5256f1859692d4a309a2c2bc90a5d58ccb

See more details on using hashes here.

Supported by

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