Metadata-Version: 2.1
Name: certbot-dns-yandexcloud
Version: 0.0.1
Summary: YandexCloud DNS Authenticator plugin for Certbot
Home-page: https://github.com/PykupeJIbc/certbot-dns-yandexcloud
Author: Timur Gusmanov
Author-email: archrunel@gmail.com
License: Apache License 2.0
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Plugins
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Security
Classifier: Topic :: System :: Installation/Setup
Classifier: Topic :: System :: Networking
Classifier: Topic :: System :: Systems Administration
Classifier: Topic :: Utilities
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

YandexCloud DNS Authenticator plugin for Certbot
================================================

[yandexcloud](https://cloud.yandex.ru/) DNS Authenticator plugin for [certbot](https://certbot.eff.org/).

This plugin automates the process of completing a dns-01 challenge by creating, and subsequently removing, TXT records using the yandexcloud [API](https://github.com/yandex-cloud/cloudapi)

Installation
------------
    pip install certbot-dns-yandexcloud

Certbot Arguments
---------------

To start using DNS authentication for yandexcloud, pass the following arguments on certbot's command line:

Option|Description|
---|---|
`--authenticator dns-yandexcloud`|select the authenticator plugin (Required)|
`--dns-yandexcloud-credentials FILE_PATH`|yandexcloud credentials INI file path. (Required)|

Credentials
-----------

Before credentials.ini providing create [yandexcloud service account](https://cloud.yandex.ru/docs/iam/operations/sa/create) and create [service-account-key](https://cloud.yandex.ru/docs/cli/operations/authentication/service-account) and get your folder_id where DNS zone is created

An example `credentials.ini` file:

``` {.sourceCode .ini}
    dns_yandexcloud_sa_json_path = "~/.secrets/certbot/sa.json"
    dns_yandexcloud_folder_id = "b0g0kfc0jutlhm000r00"
```

Examples
--------
    certbot certonly \
    --authenticator dns-yandexcloud \
    --dns-yandexcloud-credentials ~/.secrets/certbot/yandexcloud.ini \
    --non-interactive --agree-tos --email username@example.com \
    -d 'example.com'
