### Install pipx Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/user_guide.rst Installs pipx and ensures its binaries are in the PATH. Requires Python 3.6+. ```console python3 -m pip install pipx python3 -m pipx ensurepath ``` -------------------------------- ### Example profile structure Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/user_guide.rst Shows the general structure of a profile in the profiles section, with a name, provider, and provider options. ```yaml profiles: - name: my_profile provider: a_provider provider_options: one_option: one_value another_option: another_value ``` -------------------------------- ### Run DNSroboCert on host Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/user_guide.rst Starts DNSroboCert with the configuration file and certificates directory. Runs in the foreground; press CTRL+C to stop. ```console dnsrobocert -c /etc/dnsrobocert/config.yml -d /etc/letsencrypt ``` -------------------------------- ### Create configuration directory and file Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/user_guide.rst Creates the configuration directory and an empty configuration file at the assumed path /etc/dnsrobocert/config.yml. Run before starting DNSroboCert to avoid problems. ```console mkdir /etc/dnsrobocert touch /etc/dnsrobocert/config.yml ``` -------------------------------- ### Create certificates directory Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/user_guide.rst Creates the directory where DNSroboCert will store certificates, assumed to be /etc/letsencrypt. Run before starting DNSroboCert. ```console mkdir -p /etc/letsencrypt ``` -------------------------------- ### Check UV version Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/developer_guide.rst Verify that UV is installed and available in the command line before setting up the development environment. ```console uv --version ``` -------------------------------- ### profiles section example with two profiles Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/configuration_reference.rst Defines a list of profiles, each with a unique name, a Lexicon-supported provider, provider-specific options, and optional sleep_time and max_checks settings. The example shows a DigitalOcean profile with an auth_token and a henet profile with auth_username and auth_password. ```yaml profiles: - name: my_profile1 provider: digitalocean provider_options: auth_token: TOKEN sleep_time: 45 max_checks: 5 - name: my_profile2 provider: henet provider_options: auth_username: USER auth_password: PASSWORD ``` -------------------------------- ### Install DNSroboCert with pipx Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/user_guide.rst Installs a specific version of DNSroboCert (e.g., 3.0.0) into an isolated environment using pipx. ```console python3 -m pipx install dnsrobocert==3.0.0 ``` -------------------------------- ### Sync dependencies with UV Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/developer_guide.rst Navigate into the project directory and sync the virtual environment dependencies using UV. ```console cd dnsrobocert uv sync ``` -------------------------------- ### Clone the DNSroboCert fork Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/developer_guide.rst Clone your forked GitHub repository to start development. ```console git clone https://github.com/myfork/dnsrobocert.git ``` -------------------------------- ### Initial draft configuration Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/user_guide.rst Starts with a minimal configuration file that only sets draft mode to true, which validates the configuration without performing any actions. ```yaml draft: true ``` -------------------------------- ### certificates section YAML configuration example Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/configuration_reference.rst Example YAML configuration for the certificates section, showing two certificate entries with various properties such as profile, domains, pfx export, autorestart, podman_containers, autocmd, deploy_hook, force_renew, follow_cnames, reuse_key, and key_type. ```yaml certificates: - name: my-wildcard-cert domains: - "*.example.net" - example.net profile: my_profile1 pfx: export: true passphrase: PASSPHRASE autorestart: - containers: - container1 - swarm_services: - service1 podman_containers: - podman1 autocmd: - cmd: /usr/bin/remote_deploy.sh containers: - container2 - domains: - www.sub.example.net profile: my_profile2 deploy_hook: python /home/user/local_deploy.py force_renew: false follow_cnames: false reuse_key: false key_type: ecdsa ``` -------------------------------- ### Activate virtual environment on Linux/Mac OS X Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/developer_guide.rst Activate the UV-created virtual environment on Linux or macOS. ```console source .venv/bin/activate ``` -------------------------------- ### Activate virtual environment on Windows (Powershell) Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/developer_guide.rst Activate the UV-created virtual environment on Windows using PowerShell. ```console .\.venv\Scripts\activate ``` -------------------------------- ### Start DNSroboCert Docker container Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/user_guide.rst Starts the DNSroboCert Docker container in detached mode. The Docker daemon will ensure it continues to run upon machine restart. ```console docker-compose up -d ``` -------------------------------- ### Run DNSroboCert CLI from local source Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/developer_guide.rst Run the CLI using the local source code after activating the virtual environment. ```console dnsrobocert --help ``` -------------------------------- ### Run linting and static type checks Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/developer_guide.rst Run Flake8 and MyPy to ensure code quality before submitting a PR. ```console flake8 src test utils mypy src ``` -------------------------------- ### Run tests with Pytest Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/developer_guide.rst Run the test suite. On Windows, administrative privileges are required for tests to pass. ```console pytest test ``` -------------------------------- ### Run dnsrobocert with new config Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/miscellaneous.rst Example docker run command using the new image `adferrand/dnsrobocert` with the mounted configuration file and letsencrypt volume. ```console docker run \ --name dnsrobocert \ --volume /var/docker-data/letsencrypt:/etc/letsencrypt \ --volume /etc/dnsrobocert/config.yml:/etc/dnsrobocert/config.yml \ adferrand/dnsrobocert ``` -------------------------------- ### provider_options example for Aliyun Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/configuration_reference.rst Shows the provider_options object for the Aliyun provider, requiring auth_key_id and auth_secret properties. The exact properties depend on the provider; see the Lexicon Providers configuration reference for all options. ```yaml provider_options: auth_key_id: MY_KEY_ID auth_secret: MY_SECRET ``` -------------------------------- ### Configuration with henet profile Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/user_guide.rst Extends the configuration with a profile for the henet provider, requiring auth_username and auth_password options. ```yaml draft: true acme: email_account: john.doe@example.net staging: true profiles: - name: henet_profile provider: henet provider_options: auth_username: USER auth_password: PASSWD ``` -------------------------------- ### Example YAML configuration for DNSroboCert V3 Source: https://github.com/adferrand/dnsrobocert/wiki/Project-V3-specifications,-aka-DNSroboCert Shows the top-level structure of the config.yml file with acme, api, profiles, and certificates keys. Includes placeholders for email, API signing key, credentials, DNS provider profiles, and certificate definitions with SANs, autorestart, and autocmd. ```yaml acme: email_account: "nemo@example.com" staging: false api_version: 2 api: signing_key: "2TwPt77JjehSZC2a49ODvW22qWFy3jpX" credentials: - userone: "$2a$04$ZJ75.sx7/3.K7Wg19pmIqeR2OcUh1sFAs/RBvm.AY49hM5A5OvdFa" - usertwo: "$2a$04$tYuI37h62Kk.KYDKhLUKQOVxTeDBFRLAB2cxRPpGMJPAqR.nEdkMe" profiles: - name: "my-profile1" provider: "cloudflare" provider_options: - auth_key: "key" - auth_secret: "secret" - name: "my-profile2" provider: "gandi" provider_options: - api_protocol: "rest" - auth_token: "token" certificates: - domain: "test.example1.com" san: ["test1.example1.com", "test2.example1.com"] profile: "my-profile1" pfx_export: true autorestart: - containers: ["my-container1", "my-container2"] - domain: "*.example2.com" san: ["example2.com"] profile: "my-profile2" files_mode: 0644 dirs_mode: 0755 autocmd: - containers: ["my-container3", "my-container4"] cmd: "/refresh.sh" ``` -------------------------------- ### Reformat code with Isort and Black Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/developer_guide.rst Reformat the codebase using Isort and Black to maintain consistent style. ```console isort -rc src test utils black src test utils ``` -------------------------------- ### GET /api/v1/acme Source: https://github.com/adferrand/dnsrobocert/wiki/Project-V3-specifications,-aka-DNSroboCert Retrieves the ACME configuration. Requires a valid JWT. ```APIDOC ## GET /api/v1/acme ### Description Retrieves the ACME configuration. ### Method GET ### Endpoint /api/v1/acme ### Authentication Requires a valid JWT. ### Response #### Success Response (200) No response body specified. ``` -------------------------------- ### GET /api/v1/profiles Source: https://github.com/adferrand/dnsrobocert/wiki/Project-V3-specifications,-aka-DNSroboCert Retrieves the DNS profiles. Requires a valid JWT. ```APIDOC ## GET /api/v1/profiles ### Description Retrieves the DNS profiles. ### Method GET ### Endpoint /api/v1/profiles ### Authentication Requires a valid JWT. ### Response #### Success Response (200) No response body specified. ``` -------------------------------- ### GET /api/v1/api Source: https://github.com/adferrand/dnsrobocert/wiki/Project-V3-specifications,-aka-DNSroboCert Retrieves the API configuration. Requires a valid JWT. ```APIDOC ## GET /api/v1/api ### Description Retrieves the API configuration. ### Method GET ### Endpoint /api/v1/api ### Authentication Requires a valid JWT. ### Response #### Success Response (200) No response body specified. ``` -------------------------------- ### autocmd configuration example Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/configuration_reference.rst YAML configuration for the autocmd property, defining commands to execute on target containers. Commands can be strings or lists; string commands run in a shell. ```yaml autocmd: - containers: - container1 - container2 cmd: [echo, "Hello World!"] - containers: - container3 cmd: env ``` -------------------------------- ### GET /api/v1/validate Source: https://github.com/adferrand/dnsrobocert/wiki/Project-V3-specifications,-aka-DNSroboCert Checks if the current configuration is valid. Requires a valid JWT. ```APIDOC ## GET /api/v1/validate ### Description Checks if the current configuration is valid. ### Method GET ### Endpoint /api/v1/validate ### Authentication Requires a valid JWT. ### Response #### Success Response (200) No response body specified. ``` -------------------------------- ### autorestart configuration example Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/configuration_reference.rst YAML configuration for the autorestart property, listing Docker containers and swarm services to restart when certificates are created or renewed. ```yaml autorestart: - containers: - container1 - container2 swarm_services: - service1 ``` -------------------------------- ### GET /api/v1/api/credentials Source: https://github.com/adferrand/dnsrobocert/wiki/Project-V3-specifications,-aka-DNSroboCert Retrieves the API credentials. Requires a valid JWT. ```APIDOC ## GET /api/v1/api/credentials ### Description Retrieves the API credentials. ### Method GET ### Endpoint /api/v1/api/credentials ### Authentication Requires a valid JWT. ### Response #### Success Response (200) No response body specified. ``` -------------------------------- ### GET /api/v1/certificates Source: https://github.com/adferrand/dnsrobocert/wiki/Project-V3-specifications,-aka-DNSroboCert Retrieves the certificate declarations. Requires a valid JWT. ```APIDOC ## GET /api/v1/certificates ### Description Retrieves the certificate declarations. ### Method GET ### Endpoint /api/v1/certificates ### Authentication Requires a valid JWT. ### Response #### Success Response (200) No response body specified. ``` -------------------------------- ### Run DNSroboCert as Docker container Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/user_guide.rst Runs DNSroboCert in a Docker container, mounting the configuration file and certificates folder. The container runs in the foreground; press CTRL+C to stop. Works with Podman as well. ```console docker run --rm --name dnsrobocert --volume /etc/dnsrobocert/config.yml:/etc/dnsrobocert/config.yml --volume /etc/letsencrypt:/etc/letsencrypt adferrand/dnsrobocert:3.0.0 ``` -------------------------------- ### Pull latest docker images for migration Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/miscellaneous.rst Pull the latest versions of the deprecated `adferrand/docker-letsencrypt-dns` and the new `adferrand/docker-dnsrobocert` images before starting the migration. ```console docker pull adferrand/docker-letsencrypt-dns docker pull adferrand/docker-dnsrobocert ``` -------------------------------- ### Run DNSroboCert in one-shot mode Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/user_guide.rst Executes DNSroboCert once to process the configuration, then exits. Use the --one-shot flag to avoid constant running and automated renewal. ```console dnsrobocert --config /path/to/config.yml --directory /path/to/letsencrypt --one-shot ``` -------------------------------- ### Basic certificate entry configuration Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/user_guide.rst Defines a certificate with a list of domains and a profile for DNS-01 challenges. The profile must match a configured profile name, and domains are listed under the 'domains' property. ```yaml certificates: - domains: - one.example.net - two.example.net profile: my_profile ``` -------------------------------- ### Full config.yml with certificates for regular and wildcard domains Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/user_guide.rst Complete configuration file including draft mode, ACME settings, a henet profile, and two certificate entries: one for mail and ldap, and one wildcard for example.net. Uses the henet_profile for DNS-01 challenges. ```yaml draft: true acme: email_account: john.doe@example.net staging: true profiles: - name: henet_profile provider: henet provider_options: auth_username: USER auth_password: PASSWD certificates: - domains: - mail.example.net - ldap.example.net profile: henet_profile - domains: - "*.example.net" - example.net profile: henet_profile ``` -------------------------------- ### GET /api/v1/certificates/ Source: https://github.com/adferrand/dnsrobocert/wiki/Project-V3-specifications,-aka-DNSroboCert Retrieves the certificate declaration for a specific CN. Requires a valid JWT. ```APIDOC ## GET /api/v1/certificates/ ### Description Retrieves the certificate declaration for a specific CN. ### Method GET ### Endpoint /api/v1/certificates/ ### Authentication Requires a valid JWT. ### Parameters #### Path Parameters - **cn** (string) - Required - The common name. ### Response #### Success Response (200) No response body specified. ``` -------------------------------- ### GET /api/v1/profiles/ Source: https://github.com/adferrand/dnsrobocert/wiki/Project-V3-specifications,-aka-DNSroboCert Retrieves the DNS profile for a specific name. Requires a valid JWT. ```APIDOC ## GET /api/v1/profiles/ ### Description Retrieves the DNS profile for a specific name. ### Method GET ### Endpoint /api/v1/profiles/ ### Authentication Requires a valid JWT. ### Parameters #### Path Parameters - **name** (string) - Required - The profile name. ### Response #### Success Response (200) No response body specified. ``` -------------------------------- ### GET /api/v1/api/credentials/ Source: https://github.com/adferrand/dnsrobocert/wiki/Project-V3-specifications,-aka-DNSroboCert Retrieves the API credentials for a specific user. Requires a valid JWT. ```APIDOC ## GET /api/v1/api/credentials/ ### Description Retrieves the API credentials for a specific user. ### Method GET ### Endpoint /api/v1/api/credentials/ ### Authentication Requires a valid JWT. ### Parameters #### Path Parameters - **user** (string) - Required - The username. ### Response #### Success Response (200) No response body specified. ``` -------------------------------- ### Docker-Compose configuration for DNSroboCert Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/user_guide.rst Defines a Docker service for DNSroboCert with volumes for certificates and configuration, and restart policy to run as a daemon. Create this docker-compose.yml file to run DNSroboCert in a Docker container. ```yaml version: '2' services: dnsrobocert: image: adferrand/dnsrobocert container_name: dnsrobocert volumes: - /etc/letsencrypt:/etc/letsencrypt - /etc/dnsrobocert:/etc/dnsrobocert restart: always ``` -------------------------------- ### Configure ACME section with email and staging Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/user_guide.rst Adds the ACME section with an email account and enables staging mode to use Let's Encrypt staging servers, avoiding production rate limits during testing. ```yaml draft: true acme: email_account: john.doe@example.net staging: true ``` -------------------------------- ### Configure ECDSA key type in certificate section Source: https://github.com/adferrand/dnsrobocert/blob/main/CHANGELOG.md Use the `key_type` parameter in a certificate entry to select ECDSA keys; set to `rsa` for RSA (default) or `ecdsa` for ECDSA. This example shows an ECDSA configuration for a certificate on the `dummy` profile. ```yaml profiles: - name: dummy ... certificates: - domains: [example.org] profile: dummy key_type: ecdsa ``` -------------------------------- ### Using ${AUTH_TOKEN} in YAML configuration Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/configuration_reference.rst Inject an environment variable into the configuration file using the ${MY_VARIABLE} format. The example shows a DigitalOcean profile with auth_token set to ${AUTH_TOKEN}, which will be resolved to the environment variable's value. Non-existent variables raise an error. ```yaml profiles: - name: my_profile provider: digitalocean provider_options: auth_token: ${AUTH_TOKEN} certificates: [] ``` -------------------------------- ### Mount config with docker command line Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/miscellaneous.rst Add this flag to the docker run command to mount the new configuration file at the expected location. ```console --volume /etc/dnsrobocert/config.yml:/etc/dnsrobocert/config.yml ``` -------------------------------- ### Mount Podman socket for rootful Podman Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/configuration_reference.rst Run DNSroboCert as a Podman container with the Podman socket mounted for rootful Podman. Requires sudo and access to /run/podman/podman.sock. ```console $ sudo podman run --rm --name dnsrobocert --volume /run/podman/:/run/podman docker.io/adferrand/dnsrobocert ``` -------------------------------- ### Mount Podman socket for rootless Podman Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/configuration_reference.rst Run DNSroboCert as a Podman container with the Podman socket mounted for rootless Podman. Requires access to /run/user/$UID/podman/podman.sock. ```console $ podman run --rm --name dnsrobocert --volume /run/user/$UID/podman/:/run/podman docker.io/adferrand/dnsrobocert ``` -------------------------------- ### Extract generated config from docker Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/miscellaneous.rst Create the host directory and copy the generated configuration file from the docker container (named `letsencrypt-dns`) to the host path. ```console mkdir -p /etc/dnsrobocert docker cp letsencrypt-dns:/etc/dnsrobocert/config-generated.yml /etc/dnsrobocert/config.yml ``` -------------------------------- ### ACME section configuration Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/configuration_reference.rst Configures general Certbot parameters and certificate storage. Includes email account, staging, API version, directory URL, permissions, and renewal schedule. If directory_url is set, staging and api_version are ignored. ```yaml acme: email_account: my.email@example.net staging: false api_version: 2 # If directory_url is set, values of staging and api_version are ignored directory_url: https://example.net/dir certs_permissions: files_mode: 0644 dirs_mode: 0755 user: nobody group: nogroup crontab_renew: 12 01,13 * * * ``` -------------------------------- ### Resolved configuration with environment variable value Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/configuration_reference.rst Shows the configuration after environment variable resolution, where ${AUTH_TOKEN} is replaced with the actual value 'my-secret-token'. This is the expected output when the environment variable exists. ```yaml profiles: - name: my_profile provider: digitalocean provider_options: auth_token: my-secret-token certificates: [] ``` -------------------------------- ### Basic configuration structure Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/configuration_reference.rst Defines the minimal YAML structure for the DNSroboCert configuration file, which must conform to the JSON schema. The file is validated on each change. ```yaml draft: false acme: {} profiles: [] certificates: [] ``` -------------------------------- ### Mount config with docker-compose Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/miscellaneous.rst Add this mount directive to your `docker-compose.yml` to mount the new configuration file. ```yaml volumes: - /etc/dnsrobocert/config.yml:/etc/dnsrobocert/config.yml ``` -------------------------------- ### POST /api/v1/profiles Source: https://github.com/adferrand/dnsrobocert/wiki/Project-V3-specifications,-aka-DNSroboCert Creates a new DNS profile. Requires a valid JWT. ```APIDOC ## POST /api/v1/profiles ### Description Creates a new DNS profile. ### Method POST ### Endpoint /api/v1/profiles ### Authentication Requires a valid JWT. ### Parameters #### Request Body No request body specified. ### Response #### Success Response (200) No response body specified. ``` -------------------------------- ### Mount Docker socket for DNSroboCert container Source: https://github.com/adferrand/dnsrobocert/blob/main/docs/configuration_reference.rst Run DNSroboCert as a Docker container with the Docker client socket mounted to enable autorestart and autocmd features. Requires access to /var/run/docker.sock. ```console $ docker run --rm --name dnsrobocert --mount /var/run/docker.sock:/var/run/docker.sock adferrand/dnsrobocert ``` -------------------------------- ### POST /api/v1/api/credentials Source: https://github.com/adferrand/dnsrobocert/wiki/Project-V3-specifications,-aka-DNSroboCert Creates a new API credential. Requires a valid JWT. ```APIDOC ## POST /api/v1/api/credentials ### Description Creates a new API credential. ### Method POST ### Endpoint /api/v1/api/credentials ### Authentication Requires a valid JWT. ### Parameters #### Request Body No request body specified. ### Response #### Success Response (200) No response body specified. ``` -------------------------------- ### POST /api/v1/auth/login Source: https://github.com/adferrand/dnsrobocert/wiki/Project-V3-specifications,-aka-DNSroboCert Authenticates a user and returns a JWT token. The token must be included in subsequent requests as 'Authentication: Bearer '. ```APIDOC ## POST /api/v1/auth/login ### Description Authenticates a user and returns a JWT token. ### Method POST ### Endpoint /api/v1/auth/login ### Parameters #### Request Body - **user** (string) - Required - The username. - **password** (string) - Required - The password. ### Response #### Success Response (200) - **token** (string) - The JWT token. #### Response Example { "token": "" } ``` -------------------------------- ### POST /api/v1/api Source: https://github.com/adferrand/dnsrobocert/wiki/Project-V3-specifications,-aka-DNSroboCert Updates the API configuration. Credentials are read-only here. Requires a valid JWT. ```APIDOC ## POST /api/v1/api ### Description Updates the API configuration. Credentials are read-only here. ### Method POST ### Endpoint /api/v1/api ### Authentication Requires a valid JWT. ### Parameters #### Request Body No request body specified. ### Response #### Success Response (200) No response body specified. ``` -------------------------------- ### POST /api/v1/acme Source: https://github.com/adferrand/dnsrobocert/wiki/Project-V3-specifications,-aka-DNSroboCert Updates the ACME configuration. Requires a valid JWT. ```APIDOC ## POST /api/v1/acme ### Description Updates the ACME configuration. ### Method POST ### Endpoint /api/v1/acme ### Authentication Requires a valid JWT. ### Parameters #### Request Body No request body specified. ### Response #### Success Response (200) No response body specified. ``` -------------------------------- ### POST /api/v1/profiles/ Source: https://github.com/adferrand/dnsrobocert/wiki/Project-V3-specifications,-aka-DNSroboCert Edits the DNS profile for a specific name. Requires a valid JWT. ```APIDOC ## POST /api/v1/profiles/ ### Description Edits the DNS profile for a specific name. ### Method POST ### Endpoint /api/v1/profiles/ ### Authentication Requires a valid JWT. ### Parameters #### Path Parameters - **name** (string) - Required - The profile name. #### Request Body No request body specified. ### Response #### Success Response (200) No response body specified. ``` -------------------------------- ### POST /api/v1/certificates/ Source: https://github.com/adferrand/dnsrobocert/wiki/Project-V3-specifications,-aka-DNSroboCert Edits the certificate declaration for a specific CN. Requires a valid JWT. ```APIDOC ## POST /api/v1/certificates/ ### Description Edits the certificate declaration for a specific CN. ### Method POST ### Endpoint /api/v1/certificates/ ### Authentication Requires a valid JWT. ### Parameters #### Path Parameters - **cn** (string) - Required - The common name. #### Request Body No request body specified. ### Response #### Success Response (200) No response body specified. ``` -------------------------------- ### DELETE /api/v1/profiles/ Source: https://github.com/adferrand/dnsrobocert/wiki/Project-V3-specifications,-aka-DNSroboCert Deletes the DNS profile for a specific name. Requires a valid JWT. ```APIDOC ## DELETE /api/v1/profiles/ ### Description Deletes the DNS profile for a specific name. ### Method DELETE ### Endpoint /api/v1/profiles/ ### Authentication Requires a valid JWT. ### Parameters #### Path Parameters - **name** (string) - Required - The profile name. ### Response #### Success Response (200) No response body specified. ``` -------------------------------- ### PATCH /api/v1/certificates/ Source: https://github.com/adferrand/dnsrobocert/wiki/Project-V3-specifications,-aka-DNSroboCert Forces renewal of the certificate for a specific CN. Requires a valid JWT. ```APIDOC ## PATCH /api/v1/certificates/ ### Description Forces renewal of the certificate for a specific CN. ### Method PATCH ### Endpoint /api/v1/certificates/ ### Authentication Requires a valid JWT. ### Parameters #### Path Parameters - **cn** (string) - Required - The common name. ### Response #### Success Response (200) No response body specified. ``` -------------------------------- ### POST /api/v1/api/credentials/ Source: https://github.com/adferrand/dnsrobocert/wiki/Project-V3-specifications,-aka-DNSroboCert Edits the API credentials for a specific user. Requires a valid JWT. ```APIDOC ## POST /api/v1/api/credentials/ ### Description Edits the API credentials for a specific user. ### Method POST ### Endpoint /api/v1/api/credentials/ ### Authentication Requires a valid JWT. ### Parameters #### Path Parameters - **user** (string) - Required - The username. #### Request Body No request body specified. ### Response #### Success Response (200) No response body specified. ``` -------------------------------- ### DELETE /api/v1/certificates/ Source: https://github.com/adferrand/dnsrobocert/wiki/Project-V3-specifications,-aka-DNSroboCert Revokes and deletes the certificate declaration for a specific CN. Requires a valid JWT. ```APIDOC ## DELETE /api/v1/certificates/ ### Description Revokes and deletes the certificate declaration for a specific CN. ### Method DELETE ### Endpoint /api/v1/certificates/ ### Authentication Requires a valid JWT. ### Parameters #### Path Parameters - **cn** (string) - Required - The common name. ### Response #### Success Response (200) No response body specified. ``` -------------------------------- ### DELETE /api/v1/api/credentials/ Source: https://github.com/adferrand/dnsrobocert/wiki/Project-V3-specifications,-aka-DNSroboCert Deletes the API credentials for a specific user. Requires a valid JWT. ```APIDOC ## DELETE /api/v1/api/credentials/ ### Description Deletes the API credentials for a specific user. ### Method DELETE ### Endpoint /api/v1/api/credentials/ ### Authentication Requires a valid JWT. ### Parameters #### Path Parameters - **user** (string) - Required - The username. ### Response #### Success Response (200) No response body specified. ```