Skip to content

Commit 1070f0d

Browse files
committed
review
1 parent 697f4f4 commit 1070f0d

File tree

16 files changed

+1047
-608
lines changed

16 files changed

+1047
-608
lines changed

cmd/zz_gen_cmd_dnshelp.go

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1745,22 +1745,21 @@ func displayDNSHelp(w io.Writer, name string) error {
17451745
// generated from: providers/dns/nicru/nicru.toml
17461746
ew.writeln(`Configuration for RU CENTER.`)
17471747
ew.writeln(`Code: 'nicru'`)
1748-
ew.writeln(`Since: 'v4.11.0'`)
1748+
ew.writeln(`Since: 'v4.12.0'`)
17491749
ew.writeln()
17501750

17511751
ew.writeln(`Credentials:`)
1752-
ew.writeln(` - "NIC_RU_PASSWORD": Password for account in RU CENTER`)
1753-
ew.writeln(` - "NIC_RU_SECRET": Secret for application in DNS-hosting RU CENTER`)
1754-
ew.writeln(` - "NIC_RU_SERVICE_ID": Service ID for application in DNS-hosting RU CENTER`)
1755-
ew.writeln(` - "NIC_RU_SERVICE_NAME": Service Name for DNS-hosting RU CENTER`)
1756-
ew.writeln(` - "NIC_RU_USER": Agreement for account in RU CENTER`)
1752+
ew.writeln(` - "NICRU_PASSWORD": Password for account in RU CENTER`)
1753+
ew.writeln(` - "NICRU_SECRET": Secret for application in DNS-hosting RU CENTER`)
1754+
ew.writeln(` - "NICRU_SERVICE_ID": Service ID for application in DNS-hosting RU CENTER`)
1755+
ew.writeln(` - "NICRU_SERVICE_NAME": Service Name for DNS-hosting RU CENTER`)
1756+
ew.writeln(` - "NICRU_USER": Agreement for account in RU CENTER`)
17571757
ew.writeln()
17581758

17591759
ew.writeln(`Additional Configuration:`)
1760-
ew.writeln(` - "NIC_RU_HTTP_TIMEOUT": API request timeout`)
1761-
ew.writeln(` - "NIC_RU_POLLING_INTERVAL": Time between DNS propagation check`)
1762-
ew.writeln(` - "NIC_RU_PROPAGATION_TIMEOUT": Maximum waiting time for DNS propagation`)
1763-
ew.writeln(` - "NIC_RU_TTL": The TTL of the TXT record used for the DNS challenge`)
1760+
ew.writeln(` - "NICRU_POLLING_INTERVAL": Time between DNS propagation check`)
1761+
ew.writeln(` - "NICRU_PROPAGATION_TIMEOUT": Maximum waiting time for DNS propagation`)
1762+
ew.writeln(` - "NICRU_TTL": The TTL of the TXT record used for the DNS challenge`)
17641763

17651764
ew.writeln()
17661765
ew.writeln(`More information: https://go-acme.github.io/lego/dns/nicru`)

docs/content/dns/zz_gen_nicru.md

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
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

Comments
 (0)