Name = "Digital Ocean"
Description = ''''''
URL = "https://www.digitalocean.com/docs/networking/dns/"
Code = "digitalocean"
Since = "v0.3.0"

Example = '''
DO_AUTH_TOKEN=xxxxxx \
lego --email you@example.com --dns digitalocean -d '*.example.com' -d example.com run
'''

[Configuration]
  [Configuration.Credentials]
    DO_AUTH_TOKEN = "Authentication token"
  [Configuration.Additional]
    DO_API_URL = "The URL of the API"
    DO_POLLING_INTERVAL = "Time between DNS propagation check in seconds (Default: 5)"
    DO_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation in seconds (Default: 60)"
    DO_TTL = "The TTL of the TXT record used for the DNS challenge in seconds (Default: 30)"
    DO_HTTP_TIMEOUT = "API request timeout in seconds (Default: 30)"

[Links]
  API = "https://developers.digitalocean.com/documentation/v2/#domain-records"
