Name = "Liara"
Description = ''''''
URL = "https://liara.ir"
Code = "liara"
Since = "v4.10.0"

Example = '''
LIARA_API_KEY="xxxxxxxxxxxxxxxxxxxxx" \
lego --email you@example.com --dns liara -d '*.example.com' -d example.com run
'''

[Configuration]
  [Configuration.Credentials]
    LIARA_API_KEY = "The API key"
  [Configuration.Additional]
    LIARA_POLLING_INTERVAL = "Time between DNS propagation check in seconds (Default: 2)"
    LIARA_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation in seconds (Default: 60)"
    LIARA_TTL = "The TTL of the TXT record used for the DNS challenge in seconds (Default: 3600)"
    LIARA_HTTP_TIMEOUT = "API request timeout in seconds (Default: 30)"

[Links]
  API = "https://openapi.liara.ir/?urls.primaryName=DNS"
