Skip to main content

Selectel DNS Authenticator plugin for Certbot

Project description

The certbot_dns_selectel_api_v2.dns_selectel_api_v2 plugin automates the process of completing a dns-01 challenge (~acme.challenges.DNS01) by creating, and subsequently removing, TXT records using domains/v2 calls of the Selectel REST API.

Named Arguments

--dns-selectel-api-v2-credentials

Selectel API credentials INI file. (Required)

--dns-selectel-api-v2-propagation-seconds

The number of seconds to wait for DNS to propagate before asking the ACME server to verify the DNS record. (Default: 120)

Credentials

Use of this plugin requires a configuration file containing numeric account ID (usually displayed at top right corner of control panel), textual project name and username and password of the service account having administrative rights for account.

Example credentials file:

dns_selectel_api_v2_account_id   = 167930
dns_selectel_api_v2_project_name = my_project
dns_selectel_api_v2_username     = certbot_at_stage
dns_selectel_api_v2_password     = ijK021niOuvHE7EuatA94ho6LFnAsfVU

The path to this file can be provided interactively or using the --dns-selectel-api-v2-credentials command-line argument.

Examples

To acquire a certificate for example.com:

certbot certonly \
   -a dns-selectel-api-v2 \
   --dns-selectel-api-v2-credentials ~/.local/share/certbot/selectel.ini \
   -d example.com

To acquire a single certificate for both example.com and *.example.com:

certbot certonly \
   -a dns-selectel-api-v2 \
   --dns-selectel-api-v2-credentials ~/.local/share/certbot/selectel.ini \
   -d example.com \
   -d *.example.com

To acquire a certificate for example.com, waiting 60 seconds for DNS propagation:

certbot certonly \
   -a dns-selectel-api-v2 \
   --dns-selectel-api-v2-credentials ~/.local/share/certbot/selectel.ini \
   --dns-selectel-api-v2-propagation-seconds 60 \
   -d example.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

certbot_dns_selectel_api_v2-0.2.0.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

certbot_dns_selectel_api_v2-0.2.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file certbot_dns_selectel_api_v2-0.2.0.tar.gz.

File metadata

File hashes

Hashes for certbot_dns_selectel_api_v2-0.2.0.tar.gz
Algorithm Hash digest
SHA256 479d19a8d5ee2474894dc0defcd8450584d46a0cc32ab7c0450f437d1c3f0366
MD5 d7c0178a268d7e9837f8c070d8510727
BLAKE2b-256 78b93a214696beeb3ab3f47decdf31575a0f9463845436fd3e66a89f5ac3a315

See more details on using hashes here.

File details

Details for the file certbot_dns_selectel_api_v2-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for certbot_dns_selectel_api_v2-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e18c1b5c5c8b058109ca3a5961e303f61af2b98dd2ee61c9a2b3364b05702451
MD5 aea7024e8766ece4cc635b850fc47982
BLAKE2b-256 e2fc23c5d38a3a4e06db31da381233d88179911aae273cb6a48665b056f0175c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page