Metadata-Version: 2.1
Name: yc-secret
Version: 0.1.2
Summary: Library for interaction with the Yandex Cloud Lockbox service
Home-page: https://yc-secret.readthedocs.io
Author: Aksyanov Rustam
Author-email: rustam@akrustam.com
License: Apache 2.0
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Natural Language :: Russian
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.7.*
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiohttp (<=3.8.1,>=3.7.0) ; python_version >= "3"

# 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

```python
secret = Secret(token)
secret_value = secret.get_secret("yg854tgreg9ger")
```

How to get the content of the key

```python
secret = Secret(token)
key_value = secret.get_key("yg854tgreg9ger")
```

Requirements
============

- Python >= 3.7
- aiohttp

License
=======

``YC Secret`` is offered under the Apache 2 license.

