alidns: support sts token credential (#1454)

This commit is contained in:
Yuanhai He 2021-08-07 18:07:31 +08:00 committed by GitHub
parent 8e7bba485f
commit 6f5f694cd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 21 additions and 8 deletions

View file

@ -35,6 +35,7 @@ lego --email myemail@example.com --dns alidns --domains my.example.org run
|-----------------------|-------------|
| `ALICLOUD_ACCESS_KEY` | Access key ID |
| `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).