biscuit-py-prima-airflow-0.1.0
توضیحات
biscuit-py decrypts secrets managed by Biscuit. Credits to Doug Coker.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | biscuit-py-prima-airflow-0.1.0 |
| نام | biscuit-py-prima-airflow |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Prima Assicurazioni Data Team |
| ایمیل نویسنده | team-data@prima.it |
| آدرس صفحه اصلی | https://github.com/primait/biscuit-py |
| آدرس اینترنتی | https://pypi.org/project/biscuit-py-prima-airflow/ |
| مجوز | https://www.apache.org/licenses/LICENSE-2.0 |
==========
biscuit-py
==========
.. image:: 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 <https://github.com/dcoker/biscuit>`_.
----------
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))
نحوه نصب
نصب پکیج whl biscuit-py-prima-airflow-0.1.0:
pip install biscuit-py-prima-airflow-0.1.0.whl
نصب پکیج tar.gz biscuit-py-prima-airflow-0.1.0:
pip install biscuit-py-prima-airflow-0.1.0.tar.gz