--- title: "DreamHost" date: 2019-03-03T16:39:46+01:00 draft: false slug: dreamhost --- Since: v1.1.0 Configuration for [DreamHost](https://www.dreamhost.com). - Code: `dreamhost` 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 ``` ## Credentials | Environment Variable Name | Description | |-----------------------|-------------| | `DREAMHOST_API_KEY` | The API key | The environment variable names can be suffixed by `_FILE` to reference a file instead of a value. More information [here](/lego/dns/#configuration-and-credentials). ## Additional Configuration | Environment Variable Name | Description | |--------------------------------|-------------| | `DREAMHOST_HTTP_TIMEOUT` | API request timeout | | `DREAMHOST_POLLING_INTERVAL` | Time between DNS propagation check | | `DREAMHOST_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation | | `DREAMHOST_TTL` | The TTL of the TXT record used for the DNS challenge | The environment variable names can be suffixed by `_FILE` to reference a file instead of a value. More information [here](/lego/dns/#configuration-and-credentials). ## More information - [API documentation](https://help.dreamhost.com/hc/en-us/articles/217560167-API_overview)