Library for interaction with the Yandex Cloud Lockbox service
Project description
YC Secret
Library for interaction with the Yandex Cloud Lockbox service
Installing YC Secret
YC Secret is available on PyPI:
$ python -m pip install yc-secret
YC Secret officially supports Python 3.7+.
Key Features
- Unlimited number of secret ids (limited by system only)
- Getting the list of keys by secrete ids
- Getting particular key without using a secret id
Getting started
You need to define all secret ids in one line and put it into environment You also need to use YCSECRET
as variable
Please note that symbol |
is being used as separator
Code example
How to get the content of the secret
secret = Secret(token)
secret_value = secret.get_secret("yg854tgreg9ger")
How to get the content of the key
secret = Secret(token)
key_value = secret.get_key("yg854tgreg9ger")
Requirements
- Python >= 3.7
- aiohttp
License
YC Secret
is offered under the Apache 2 license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yc-secret-0.1.2.tar.gz
(8.1 kB
view hashes)
Built Distribution
Close
Hashes for yc_secret-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 372a0922b319d51567cc8084fa459bc694affd111675019d062d57cbc8420fb0 |
|
MD5 | c9112cb801bf267bf9de5a75606429ef |
|
BLAKE2b-256 | e9cdc8fbfba9f51c3fa576f0889a35b7dcf145ab3549514c002803b9b61afb48 |