Skip to content

Commit a57b61f

Browse files
committed
review
1 parent 5d2236d commit a57b61f

File tree

16 files changed

+988
-635
lines changed

16 files changed

+988
-635
lines changed

cmd/zz_gen_cmd_dnshelp.go

Lines changed: 9 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/content/dns/zz_gen_nicru.md

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ date: 2019-03-03T16:39:46+01:00
44
draft: false
55
slug: nicru
66
dnsprovider:
7-
since: "v4.11.0"
7+
since: "v4.20.0"
88
code: "nicru"
99
url: "https://nic.ru/"
1010
---
@@ -20,17 +20,17 @@ Configuration for [RU CENTER](https://nic.ru/).
2020
<!--more-->
2121

2222
- Code: `nicru`
23-
- Since: v4.11.0
23+
- Since: v4.20.0
2424

2525

2626
Here is an example bash command using the RU CENTER provider:
2727

2828
```bash
29-
NIC_RU_USER="<your_user>" \
30-
NIC_RU_PASSWORD="<your_password>" \
31-
NIC_RU_SERVICE_ID="<service_id>" \
32-
NIC_RU_SECRET="<service_secret>" \
33-
NIC_RU_SERVICE_NAME="<service_name>" \
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>" \
3434
./lego --dns nicru --domains "*.example.com" --email you@example.com run
3535
```
3636

@@ -41,11 +41,11 @@ NIC_RU_SERVICE_NAME="<service_name>" \
4141

4242
| Environment Variable Name | Description |
4343
|-----------------------|-------------|
44-
| `NIC_RU_PASSWORD` | Password for account in RU CENTER |
45-
| `NIC_RU_SECRET` | Secret for application in DNS-hosting RU CENTER |
46-
| `NIC_RU_SERVICE_ID` | Service ID for application in DNS-hosting RU CENTER |
47-
| `NIC_RU_SERVICE_NAME` | Service Name for DNS-hosting RU CENTER |
48-
| `NIC_RU_USER` | Agreement for account in RU CENTER |
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 |
4949

5050
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
5151
More information [here]({{% ref "dns#configuration-and-credentials" %}}).
@@ -55,10 +55,9 @@ More information [here]({{% ref "dns#configuration-and-credentials" %}}).
5555

5656
| Environment Variable Name | Description |
5757
|--------------------------------|-------------|
58-
| `NIC_RU_HTTP_TIMEOUT` | API request timeout |
59-
| `NIC_RU_POLLING_INTERVAL` | Time between DNS propagation check |
60-
| `NIC_RU_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation |
61-
| `NIC_RU_TTL` | The TTL of the TXT record used for the DNS challenge |
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 |
6261

6362
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
6463
More information [here]({{% ref "dns#configuration-and-credentials" %}}).
@@ -67,13 +66,13 @@ More information [here]({{% ref "dns#configuration-and-credentials" %}}).
6766

6867
You can find information about service ID and secret https://www.nic.ru/manager/oauth.cgi?step=oauth.app_list
6968

70-
| ENV Variable | Parameter from page | Example |
71-
|----------------------|--------------------------------|-------------------|
72-
| NIC_RU_USER | Username (Number of agreement) | NNNNNNN/NIC-D |
73-
| NIC_RU_PASSWORD | Password account | |
74-
| NIC_RU_SERVICE_ID | Application ID | hex-based, len 32 |
75-
| NIC_RU_SECRET | Identity endpoint | string len 91 |
76-
| NIC_RU_SERVICE_NAME | Service name in DNS-hosting | DPNNNNNNNNNN |
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 |
7776

7877

7978

0 commit comments

Comments
 (0)