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.1.0.tar.gz (10.3 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.1.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for certbot_dns_selectel_api_v2-0.1.0.tar.gz
Algorithm Hash digest
SHA256 47873cf6f1ab157faeb2a0df34c94afdaba7b25fad827283635b16c3c7335e2b
MD5 0dc934e827377e8f7b3acf96cbbd08b6
BLAKE2b-256 7d5b01d0fb2bfeaa7606099b0af2fc99e75a541cb2c10768afde6d576633fe5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for certbot_dns_selectel_api_v2-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9f8e0eddda804eb4bfde09a6fdc9ac233b5bf5da8926f3319794fc29bbcade02
MD5 98f05fb21390d56e00fc8cbf834096ed
BLAKE2b-256 767db3570756161b872cf4dfa315a7064f9d6b4cc2d0bda30db7afdf39bfed31

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