Skip to content

Python code for reading secrets encrypted with Biscuit.

License

Notifications You must be signed in to change notification settings

dcoker/biscuit-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

biscuit-py

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

About

Python code for reading secrets encrypted with Biscuit.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages