Back to Lego

Designate DNSaaS for Openstack

docs/content/dns/zz_gen_designate.md

4.35.23.9 KB
Original Source
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. --> <!-- providers/dns/designate/designate.toml --> <!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->

Configuration for Designate DNSaaS for Openstack.

<!--more-->
  • Code: designate
  • Since: v2.2.0

Here is an example bash command using the Designate DNSaaS for Openstack provider:

bash
# With a `clouds.yaml`
OS_CLOUD=my_openstack \
lego --dns designate -d '*.example.com' -d example.com run

# or

OS_AUTH_URL=https://openstack.example.org \
OS_REGION_NAME=RegionOne \
OS_PROJECT_ID=23d4522a987d4ab529f722a007c27846
OS_USERNAME=myuser \
OS_PASSWORD=passw0rd \
lego --dns designate -d '*.example.com' -d example.com run

# or

OS_AUTH_URL=https://openstack.example.org \
OS_REGION_NAME=RegionOne \
OS_AUTH_TYPE=v3applicationcredential \
OS_APPLICATION_CREDENTIAL_ID=imn74uq0or7dyzz20dwo1ytls4me8dry \
OS_APPLICATION_CREDENTIAL_SECRET=68FuSPSdQqkFQYH5X1OoriEIJOwyLtQ8QSqXZOc9XxFK1A9tzZT6He2PfPw0OMja \
lego --dns designate -d '*.example.com' -d example.com run

Credentials

Environment Variable NameDescription
OS_APPLICATION_CREDENTIAL_IDApplication credential ID
OS_APPLICATION_CREDENTIAL_NAMEApplication credential name
OS_APPLICATION_CREDENTIAL_SECRETApplication credential secret
OS_AUTH_URLIdentity endpoint URL
OS_PASSWORDPassword
OS_PROJECT_NAMEProject name
OS_REGION_NAMERegion name
OS_USERNAMEUsername
OS_USER_IDUser ID

The environment variable names can be suffixed by _FILE to reference a file instead of a value. More information [here]({{% ref "dns#configuration-and-credentials" %}}).

Additional Configuration

Environment Variable NameDescription
DESIGNATE_POLLING_INTERVALTime between DNS propagation check in seconds (Default: 10)
DESIGNATE_PROPAGATION_TIMEOUTMaximum waiting time for DNS propagation in seconds (Default: 600)
DESIGNATE_TTLThe TTL of the TXT record used for the DNS challenge in seconds (Default: 10)
DESIGNATE_ZONE_NAMEThe zone name to use in the OpenStack Project to manage TXT records.
OS_PROJECT_IDProject ID
OS_TENANT_NAMETenant name (deprecated see OS_PROJECT_NAME and OS_PROJECT_ID)

The environment variable names can be suffixed by _FILE to reference a file instead of a value. More information [here]({{% ref "dns#configuration-and-credentials" %}}).

Description

There are three main ways of authenticating with Designate:

  1. The first one is by using the OS_CLOUD environment variable and a clouds.yaml file.
  2. The second one is using your username and password, via the OS_USERNAME, OS_PASSWORD and OS_PROJECT_NAME environment variables.
  3. The third one is by using an application credential, via the OS_APPLICATION_CREDENTIAL_* and OS_USER_ID environment variables.

For the username/password and application methods, the OS_AUTH_URL and OS_REGION_NAME environment variables are required.

For more information, you can read about the different methods of authentication with OpenStack in the Keystone's documentation and the gophercloud documentation:

Public cloud providers with support for Designate:

More information

<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. --> <!-- providers/dns/designate/designate.toml --> <!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->