Certbot DNS-Myracloud Authenticator Plugin
The Certbot DNS-Myracloud Authenticator Plugin facilitates the procurement of SSL/TLS certificates from Let's Encrypt utilizing the DNS-01 challenge methodology in conjunction with Myracloud as the designated DNS service provider. This document elucidates the procedural steps for the installation and operational utilization of this plugin.
The plugin talks to the Myracloud v2 API (apiv2.myracloud.com). The credentials' service account must have access
to the domain (zone) for which the certificate is requested; the plugin resolves the zone's numeric domain id and owning
organization automatically. The retired v1 API (api.myracloud.com/en/rapi) is no longer used.
Installation
To initialize the Certbot DNS-Myracloud Authenticator Plugin, deploy the following pip command:
pip install certbot-dns-myracloud
Plugin Usage
Upon successful integration of the plugin, it becomes viable to employ it with Certbot for the retrieval of SSL/TLS certificates. The subsequent section delineates the pertinent arguments and their respective examples:
Arguments
| Argument | Example Value | Description |
|---|---|---|
--authenticator |
dns-myracloud | Engages the Myracloud authenticator mechanism. This must be configured as dns-myracloud. (Mandatory) |
--dns-myracloud-credentials |
./credentials.ini | Denotes the directory path to the credentials file for Myracloud DNS. This document must encapsulate the dns_myracloud_auth_token and dns_myracloud_auth_secret variables. (Mandatory) |
--dns-myracloud-propagation-seconds |
900 | Configures the delay prior to initiating the DNS record query. A 900-second interval (equivalent to 15 minutes) is recommended. (Default: 900) |
Example
Below is a structured example detailing the application of Certbot in conjunction with the DNS-Myracloud Authenticator Plugin to retrieve a certificate:
# prepare environment
python3 -m venv e
. e/bin/activate
# install myracloud DNS authenticator
pip install certbot-dns-myracloud
# do not forget to have proper permissions set on your credentials.ini,
# like chmod 400 <path_to_credentials.ini>
# the auto
# retrieve cert
certbot certonly \
--authenticator dns-myracloud \
--dns-myracloud-credentials ./path_to_credentials.ini \
--dns-myracloud-propagation-seconds 180 \
--server https://acme-v02.api.letsencrypt.org/directory \
--agree-tos \
--elliptic-curve secp384r1 \
--preferred-challenges dns \
-d 'example.com' \
-d '*.example.com'
For this example, example.com represents the designated domain (zone) for certificate procurement.
Obtaining your credentials (API Key)
The plugin authenticates with the Myracloud v2 API using an API Key, which consists of a token (the key identifier) and a secret. Create one in the Myra application under:
Personal Account → API Access → API Keys
Add a new API Key there. When it is created you are shown the token and the secret — copy both immediately, as the secret is only displayed once. The account that owns the API Key must have access to the domain (zone) for which you request the certificate, with permission to create DNS records.
Example of credentials.ini
To operationalize the plugin, it's imperative to curate a credentials.ini file encompassing your Myracloud DNS credentials:
dns_myracloud_auth_token = "your_token_here"
dns_myracloud_auth_secret = "your_secret_here"
Replace your_token_here and your_secret_here with the token and secret of the API Key created above
(Personal Account → API Access → API Keys). The account that owns the API Key must have permission to create DNS
records in the target zone.
Metadata
Release files for certbot-dns-myracloud 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| certbot_dns_myracloud-0.2.1.tar.gz | 13.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| certbot_dns_myracloud-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.6 kB
Release files / certbot_dns_myracloud-0.2.1.tar.gz
| Download URL | certbot_dns_myracloud-0.2.1.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
728a36f6092233daf18e2531c4abacdf2baeb23f8c2c286f319a5a84ab936e3a
|
|
BLAKE2b-256 checksum How to use checksums |
49602d4bf7ea3a9a7fdc668b32a976eef49c926c0deb74b3df8249082522d5f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / certbot_dns_myracloud-0.2.1-py3-none-any.whl
| Download URL | certbot_dns_myracloud-0.2.1-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
344e0094547ff3f31e3b035e0b92559e80a284f46629eac8233595bf020f75b5
|
|
BLAKE2b-256 checksum How to use checksums |
de4b682d039c35d64214fcd393c37ae418ea806def4b7d338ac8f5812299dce1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|