yandexcloud DNS Authenticator plugin for certbot.
This plugin automates the process of completing a dns-01 challenge by creating, and subsequently removing, TXT records using the yandexcloud API
pip install certbot-dns-yandexcloud
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) |
Before credentials.ini providing create yandexcloud service account and create service-account-key and get your folder_id where DNS zone is created
An example credentials.ini file:
dns_yandexcloud_sa_json_path = "~/.secrets/certbot/sa.json"
dns_yandexcloud_folder_id = "b0g0kfc0jutlhm000r00"
certbot certonly \
--authenticator dns-yandexcloud \
--dns-yandexcloud-credentials ~/.secrets/certbot/yandexcloud.ini \
--non-interactive --agree-tos --email username@example.com \
-d 'example.com'