-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scaleway: add alternative env var names (#2136)
- Loading branch information
Showing
6 changed files
with
47 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ Configuration for [Scaleway](https://developers.scaleway.com/). | |
Here is an example bash command using the Scaleway provider: | ||
|
||
```bash | ||
SCALEWAY_API_TOKEN=xxxxxxx-xxxxx-xxxx-xxx-xxxxxx \ | ||
SCW_SECRET_KEY=xxxxxxx-xxxxx-xxxx-xxx-xxxxxx \ | ||
lego --email [email protected] --dns scaleway --domains my.example.org run | ||
``` | ||
|
||
|
@@ -37,8 +37,8 @@ lego --email [email protected] --dns scaleway --domains my.example.org run | |
|
||
| Environment Variable Name | Description | | ||
|-----------------------|-------------| | ||
| `SCALEWAY_API_TOKEN` | API token | | ||
| `SCALEWAY_PROJECT_ID` | Project to use (optional) | | ||
| `SCW_PROJECT_ID` | Project to use (optional) | | ||
| `SCW_SECRET_KEY` | Secret key | | ||
|
||
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value. | ||
More information [here]({{< ref "dns#configuration-and-credentials" >}}). | ||
|
@@ -48,9 +48,10 @@ More information [here]({{< ref "dns#configuration-and-credentials" >}}). | |
|
||
| Environment Variable Name | Description | | ||
|--------------------------------|-------------| | ||
| `SCALEWAY_POLLING_INTERVAL` | Time between DNS propagation check | | ||
| `SCALEWAY_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation | | ||
| `SCALEWAY_TTL` | The TTL of the TXT record used for the DNS challenge | | ||
| `SCW_ACCESS_KEY` | Access key | | ||
| `SCW_POLLING_INTERVAL` | Time between DNS propagation check | | ||
| `SCW_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation | | ||
| `SCW_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]({{< ref "dns#configuration-and-credentials" >}}). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,18 +5,19 @@ Code = "scaleway" | |
Since = "v3.4.0" | ||
|
||
Example = ''' | ||
SCALEWAY_API_TOKEN=xxxxxxx-xxxxx-xxxx-xxx-xxxxxx \ | ||
SCW_SECRET_KEY=xxxxxxx-xxxxx-xxxx-xxx-xxxxxx \ | ||
lego --email [email protected] --dns scaleway --domains my.example.org run | ||
''' | ||
|
||
[Configuration] | ||
[Configuration.Credentials] | ||
SCALEWAY_API_TOKEN = "API token" | ||
SCALEWAY_PROJECT_ID = "Project to use (optional)" | ||
SCW_SECRET_KEY = "Secret key" | ||
SCW_PROJECT_ID = "Project to use (optional)" | ||
[Configuration.Additional] | ||
SCALEWAY_POLLING_INTERVAL = "Time between DNS propagation check" | ||
SCALEWAY_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation" | ||
SCALEWAY_TTL = "The TTL of the TXT record used for the DNS challenge" | ||
SCW_ACCESS_KEY = "Access key" | ||
SCW_POLLING_INTERVAL = "Time between DNS propagation check" | ||
SCW_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation" | ||
SCW_TTL = "The TTL of the TXT record used for the DNS challenge" | ||
|
||
[Links] | ||
API = "https://developers.scaleway.com/en/products/domain/dns/api/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters