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.3.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.3.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.3.0.tar.gz.

File metadata

File hashes

Hashes for certbot_dns_selectel_api_v2-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e402160d7fba1a7b1b276b56cf9bf035c91e54dd92799261bd0ed06803898378
MD5 1e2a678f2c2827604a038a9b30944f9d
BLAKE2b-256 937fd7467009bd36b3de512709c382448224bf54e17c99c41bb884521ddae1fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for certbot_dns_selectel_api_v2-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 154dbc360a21e11d63ca1b180f0106975971c245c4f65f637a3464e2bc1ad9fa
MD5 64927357a904cdb51171d421f0a05acc
BLAKE2b-256 24266eee4e887ec59dc3e49025862e40126fa70233aaa3b8cece64f513efd1c8

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