diff --git a/docs/content/dns/zz_gen_namedotcom.md b/docs/content/dns/zz_gen_namedotcom.md index b4e480b7..b4d2b4a5 100644 --- a/docs/content/dns/zz_gen_namedotcom.md +++ b/docs/content/dns/zz_gen_namedotcom.md @@ -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="my@email.com" run +``` diff --git a/providers/dns/namedotcom/namedotcom.toml b/providers/dns/namedotcom/namedotcom.toml index cd1beaae..a4be1236 100644 --- a/providers/dns/namedotcom/namedotcom.toml +++ b/providers/dns/namedotcom/namedotcom.toml @@ -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="my@email.com" run +''' [Configuration] [Configuration.Credentials]