Skip to content

Commit

Permalink
namedotcom: Improve documentation (go-acme#1109)
Browse files Browse the repository at this point in the history
  • Loading branch information
jflattery authored Apr 7, 2020
1 parent cd52839 commit 3213540
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
10 changes: 7 additions & 3 deletions docs/content/dns/zz_gen_namedotcom.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@ Configuration for [Name.com](https://www.name.com).

- Code: `namedotcom`

{{% notice note %}}
_Please contribute by adding a CLI example._
{{% /notice %}}
Here is an example bash command using the Name.com provider:

```bash
NAMECOM_USERNAME=foo.bar \
NAMECOM_API_TOKEN=a379a6f6eeafb9a55e378c118034e2751e682fab \
lego --dns="namedotcom" --domains="my.domain.com" --email="[email protected]" run
```



Expand Down
6 changes: 5 additions & 1 deletion providers/dns/namedotcom/namedotcom.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ URL = "https://www.name.com"
Code = "namedotcom"
Since = "v0.5.0"

Example = ''''''
Example = '''
NAMECOM_USERNAME=foo.bar \
NAMECOM_API_TOKEN=a379a6f6eeafb9a55e378c118034e2751e682fab \
lego --dns="namedotcom" --domains="my.domain.com" --email="[email protected]" run
'''

[Configuration]
[Configuration.Credentials]
Expand Down

0 comments on commit 3213540

Please sign in to comment.