forked from TrueCloudLab/lego
73 lines
2.2 KiB
Markdown
73 lines
2.2 KiB
Markdown
---
|
|
title: "Alibaba Cloud DNS"
|
|
date: 2019-03-03T16:39:46+01:00
|
|
draft: false
|
|
slug: alidns
|
|
---
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
|
<!-- providers/dns/alidns/alidns.toml -->
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
|
|
|
Since: v1.1.0
|
|
|
|
Configuration for [Alibaba Cloud DNS](https://www.alibabacloud.com/product/dns).
|
|
|
|
|
|
<!--more-->
|
|
|
|
- Code: `alidns`
|
|
|
|
Here is an example bash command using the Alibaba Cloud DNS provider:
|
|
|
|
```bash
|
|
# Setup using instance RAM role
|
|
ALICLOUD_RAM_ROLE=lego \
|
|
lego --email myemail@example.com --dns alidns --domains my.example.org run
|
|
|
|
# Or, using credentials
|
|
ALICLOUD_ACCESS_KEY=abcdefghijklmnopqrstuvwx \
|
|
ALICLOUD_SECRET_KEY=your-secret-key \
|
|
ALICLOUD_SECURITY_TOKEN=your-sts-token \
|
|
lego --email myemail@example.com --dns alidns --domains my.example.org run
|
|
```
|
|
|
|
|
|
|
|
|
|
## Credentials
|
|
|
|
| Environment Variable Name | Description |
|
|
|-----------------------|-------------|
|
|
| `ALICLOUD_ACCESS_KEY` | Access key ID |
|
|
| `ALICLOUD_RAM_ROLE` | Your instance RAM role (https://www.alibabacloud.com/help/doc-detail/54579.htm) |
|
|
| `ALICLOUD_SECRET_KEY` | Access Key secret |
|
|
| `ALICLOUD_SECURITY_TOKEN` | STS Security Token (optional) |
|
|
|
|
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 |
|
|
|--------------------------------|-------------|
|
|
| `ALICLOUD_HTTP_TIMEOUT` | API request timeout |
|
|
| `ALICLOUD_POLLING_INTERVAL` | Time between DNS propagation check |
|
|
| `ALICLOUD_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation |
|
|
| `ALICLOUD_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://www.alibabacloud.com/help/doc-detail/42875.htm)
|
|
- [Go client](https://github.com/aliyun/alibaba-cloud-sdk-go)
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
|
<!-- providers/dns/alidns/alidns.toml -->
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|