1
0
mirror of https://github.com/go-acme/lego.git synced 2024-12-25 11:02:56 +02:00

dreamhost: Add CLI example (#983)

This commit is contained in:
Tom Bell 2019-10-05 12:06:12 -04:00 committed by Ludovic Fernandez
parent f69cd8d63d
commit 415e5343da
2 changed files with 10 additions and 4 deletions

View File

@ -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
```

View File

@ -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]