Spaceship :: Let’s Encrypt client and ACME library written in Go. (original) (raw)
Configuration for Spaceship.
- Code:
spaceship - Since: v4.22.0
Here is an example bash command using the Spaceship provider:
SPACESHIP_API_KEY="xxxxxxxxxxxxxxxxxxxxx" \
SPACESHIP_API_SECRET="xxxxxxxxxxxxxxxxxxxxx" \
lego --email you@example.com --dns spaceship -d '*.example.com' -d example.com runCredentials
| Environment Variable Name | Description |
|---|---|
| SPACESHIP_API_KEY | API key |
| SPACESHIP_API_SECRET | API secret |
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 |
|---|---|
| SPACESHIP_HTTP_TIMEOUT | API request timeout in seconds (Default: 30) |
| SPACESHIP_POLLING_INTERVAL | Time between DNS propagation check in seconds (Default: 2) |
| SPACESHIP_PROPAGATION_TIMEOUT | Maximum waiting time for DNS propagation in seconds (Default: 60) |
| SPACESHIP_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.