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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yc-secret-0.1.2.tar.gz.
File metadata
- Download URL: yc-secret-0.1.2.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad6c143feff3da3d92468d804f35e06e91cbb1c7970821feeb95ec5bea56b7ed
|
|
| MD5 |
ff5f724784b55f6b6f87d39c76bb04cf
|
|
| BLAKE2b-256 |
b12ac4bc1d82a3bc246e456f4eb0f7c4e295a45697551cc144b3919af1834cf0
|
File details
Details for the file yc_secret-0.1.2-py3-none-any.whl.
File metadata
- Download URL: yc_secret-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
372a0922b319d51567cc8084fa459bc694affd111675019d062d57cbc8420fb0
|
|
| MD5 |
c9112cb801bf267bf9de5a75606429ef
|
|
| BLAKE2b-256 |
e9cdc8fbfba9f51c3fa576f0889a35b7dcf145ab3549514c002803b9b61afb48
|