AlibabaCloud ESA

Configuration for AlibabaCloud ESA.

  • Code: aliesa
  • Since: v4.29.0

Here is an example bash command using the AlibabaCloud ESA provider:

# Setup using instance RAM role
ALIESA_RAM_ROLE=lego \
lego --email you@example.com --dns aliesa -d '*.example.com' -d example.com run

# Or, using credentials
ALIESA_ACCESS_KEY=abcdefghijklmnopqrstuvwx \
ALIESA_SECRET_KEY=your-secret-key \
ALIESA_SECURITY_TOKEN=your-sts-token \
lego --email you@example.com --dns aliesa - -d '*.example.com' -d example.com run

Credentials

Environment Variable Name Description
ALIESA_ACCESS_KEY Access key ID
ALIESA_RAM_ROLE Your instance RAM role (https://www.alibabacloud.com/help/en/ecs/user-guide/attach-an-instance-ram-role-to-an-ecs-instance)
ALIESA_SECRET_KEY Access Key secret
ALIESA_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.

Additional Configuration

Environment Variable Name Description
ALIESA_HTTP_TIMEOUT API request timeout in seconds (Default: 30)
ALIESA_POLLING_INTERVAL Time between DNS propagation check in seconds (Default: 2)
ALIESA_PROPAGATION_TIMEOUT Maximum waiting time for DNS propagation in seconds (Default: 60)
ALIESA_TTL The TTL of the TXT record used for the DNS challenge in seconds (Default: 120)

The environment variable names can be suffixed by _FILE to reference a file instead of a value. More information here.

More information