diff --git a/docs/content/dns/zz_gen_dreamhost.md b/docs/content/dns/zz_gen_dreamhost.md index d185794b..3de108e8 100644 --- a/docs/content/dns/zz_gen_dreamhost.md +++ b/docs/content/dns/zz_gen_dreamhost.md @@ -18,9 +18,12 @@ Configuration for [DreamHost](https://www.dreamhost.com). - Code: `dreamhost` -{{% notice note %}} -_Please contribute by adding a CLI example._ -{{% /notice %}} +Here is an example bash command using the DreamHost provider: + +```bash +DREAMHOST_API_KEY="YOURAPIKEY" \ +lego --domains "foo.example.com" --dns dreamhost --email some@email.com run +``` diff --git a/providers/dns/dreamhost/dreamhost.toml b/providers/dns/dreamhost/dreamhost.toml index 4e6eeb16..2b79e691 100644 --- a/providers/dns/dreamhost/dreamhost.toml +++ b/providers/dns/dreamhost/dreamhost.toml @@ -4,7 +4,10 @@ URL = "https://www.dreamhost.com" Code = "dreamhost" Since = "v1.1.0" -Example = '''''' +Example = ''' +DREAMHOST_API_KEY="YOURAPIKEY" \ +lego --domains "foo.example.com" --dns dreamhost --email some@email.com run +''' [Configuration] [Configuration.Credentials]