nicru.toml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. Name = "RU CENTER"
  2. Description = ''''''
  3. URL = "https://nic.ru/"
  4. Code = "nicru"
  5. Since = "v4.24.0"
  6. Example = '''
  7. NICRU_USER="<your_user>" \
  8. NICRU_PASSWORD="<your_password>" \
  9. NICRU_SERVICE_ID="<service_id>" \
  10. NICRU_SECRET="<service_secret>" \
  11. lego --dns nicru --domains "*.example.com" --email you@example.com run
  12. '''
  13. Additional = '''
  14. ## Credential information
  15. You can find information about service ID and secret https://www.nic.ru/manager/oauth.cgi?step=oauth.app_list
  16. | ENV Variable | Parameter from page | Example |
  17. |---------------------|--------------------------------|-------------------|
  18. | NICRU_USER | Username (Number of agreement) | NNNNNNN/NIC-D |
  19. | NICRU_PASSWORD | Password account | |
  20. | NICRU_SERVICE_ID | Application ID | hex-based, len 32 |
  21. | NICRU_SECRET | Identity endpoint | string len 91 |
  22. '''
  23. [Configuration]
  24. [Configuration.Credentials]
  25. NICRU_USER = "Agreement for an account in RU CENTER"
  26. NICRU_PASSWORD = "Password for an account in RU CENTER"
  27. NICRU_SERVICE_ID = "Service ID for application in DNS-hosting RU CENTER"
  28. NICRU_SECRET = "Secret for application in DNS-hosting RU CENTER"
  29. NICRU_SERVICE_NAME = "Service Name for DNS-hosting RU CENTER"
  30. [Configuration.Additional]
  31. NICRU_POLLING_INTERVAL = "Time between DNS propagation check in seconds (Default: 60)"
  32. NICRU_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation in seconds (Default: 600)"
  33. NICRU_TTL = "The TTL of the TXT record used for the DNS challenge in seconds (Default: 30)"
  34. [Links]
  35. API = "https://www.nic.ru/help/api-dns-hostinga_3643.html"