|
| 1 | +--- |
| 2 | +title: "RU CENTER" |
| 3 | +date: 2019-03-03T16:39:46+01:00 |
| 4 | +draft: false |
| 5 | +slug: nicru |
| 6 | +dnsprovider: |
| 7 | + since: "v4.12.0" |
| 8 | + code: "nicru" |
| 9 | + url: "https://nic.ru/" |
| 10 | +--- |
| 11 | + |
| 12 | +<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. --> |
| 13 | +<!-- providers/dns/nicru/nicru.toml --> |
| 14 | +<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. --> |
| 15 | + |
| 16 | + |
| 17 | +Configuration for [RU CENTER](https://nic.ru/). |
| 18 | + |
| 19 | + |
| 20 | +<!--more--> |
| 21 | + |
| 22 | +- Code: `nicru` |
| 23 | +- Since: v4.12.0 |
| 24 | + |
| 25 | + |
| 26 | +Here is an example bash command using the RU CENTER provider: |
| 27 | + |
| 28 | +```bash |
| 29 | +NICRU_USER="<your_user>" \ |
| 30 | +NICRU_PASSWORD="<your_password>" \ |
| 31 | +NICRU_SERVICE_ID="<service_id>" \ |
| 32 | +NICRU_SECRET="<service_secret>" \ |
| 33 | +NICRU_SERVICE_NAME="<service_name>" \ |
| 34 | +./lego --dns nicru --domains "*.example.com" --email you@example.com run |
| 35 | +``` |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | +## Credentials |
| 41 | + |
| 42 | +| Environment Variable Name | Description | |
| 43 | +|-----------------------|-------------| |
| 44 | +| `NICRU_PASSWORD` | Password for account in RU CENTER | |
| 45 | +| `NICRU_SECRET` | Secret for application in DNS-hosting RU CENTER | |
| 46 | +| `NICRU_SERVICE_ID` | Service ID for application in DNS-hosting RU CENTER | |
| 47 | +| `NICRU_SERVICE_NAME` | Service Name for DNS-hosting RU CENTER | |
| 48 | +| `NICRU_USER` | Agreement for account in RU CENTER | |
| 49 | + |
| 50 | +The environment variable names can be suffixed by `_FILE` to reference a file instead of a value. |
| 51 | +More information [here]({{< ref "dns#configuration-and-credentials" >}}). |
| 52 | + |
| 53 | + |
| 54 | +## Additional Configuration |
| 55 | + |
| 56 | +| Environment Variable Name | Description | |
| 57 | +|--------------------------------|-------------| |
| 58 | +| `NICRU_POLLING_INTERVAL` | Time between DNS propagation check | |
| 59 | +| `NICRU_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation | |
| 60 | +| `NICRU_TTL` | The TTL of the TXT record used for the DNS challenge | |
| 61 | + |
| 62 | +The environment variable names can be suffixed by `_FILE` to reference a file instead of a value. |
| 63 | +More information [here]({{< ref "dns#configuration-and-credentials" >}}). |
| 64 | + |
| 65 | +## Credential inforamtion |
| 66 | + |
| 67 | +You can find information about service ID and secret https://www.nic.ru/manager/oauth.cgi?step=oauth.app_list |
| 68 | + |
| 69 | +| ENV Variable | Parameter from page | Example | |
| 70 | +|---------------------|--------------------------------|-------------------| |
| 71 | +| NICRU_USER | Username (Number of agreement) | NNNNNNN/NIC-D | |
| 72 | +| NICRU_PASSWORD | Password account | | |
| 73 | +| NICRU_SERVICE_ID | Application ID | hex-based, len 32 | |
| 74 | +| NICRU_SECRET | Identity endpoint | string len 91 | |
| 75 | +| NICRU_SERVICE_NAME | Service name in DNS-hosting | DPNNNNNNNNNN | |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | +## More information |
| 80 | + |
| 81 | +- [API documentation](https://www.nic.ru/help/api-dns-hostinga_3643.html) |
| 82 | + |
| 83 | +<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. --> |
| 84 | +<!-- providers/dns/nicru/nicru.toml --> |
| 85 | +<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. --> |
0 commit comments