mirror of
https://github.com/go-acme/lego.git
synced 2025-01-03 07:19:39 +02:00
docs: use homogenous examples (#2328)
This commit is contained in:
parent
f2f5550d3a
commit
815c61ac07
@ -28,7 +28,7 @@ Here is an example bash command using the Joohoi's ACME-DNS provider:
|
||||
```bash
|
||||
ACME_DNS_API_BASE=http://10.0.0.8:4443 \
|
||||
ACME_DNS_STORAGE_PATH=/root/.lego-acme-dns-accounts.json \
|
||||
lego --email you@example.com --dns acme-dns --domains my.example.org run
|
||||
lego --email you@example.com --dns "acme-dns" -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,13 +28,13 @@ Here is an example bash command using the Alibaba Cloud DNS provider:
|
||||
```bash
|
||||
# Setup using instance RAM role
|
||||
ALICLOUD_RAM_ROLE=lego \
|
||||
lego --email you@example.com --dns alidns --domains my.example.org run
|
||||
lego --email you@example.com --dns alidns -d '*.example.com' -d example.com run
|
||||
|
||||
# Or, using credentials
|
||||
ALICLOUD_ACCESS_KEY=abcdefghijklmnopqrstuvwx \
|
||||
ALICLOUD_SECRET_KEY=your-secret-key \
|
||||
ALICLOUD_SECURITY_TOKEN=your-sts-token \
|
||||
lego --email you@example.com --dns alidns --domains my.example.org run
|
||||
lego --email you@example.com --dns alidns - -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the all-inkl provider:
|
||||
```bash
|
||||
ALL_INKL_LOGIN=xxxxxxxxxxxxxxxxxxxxxxxxxx \
|
||||
ALL_INKL_PASSWORD=yyyyyyyyyyyyyyyyyyyyyyyyyy \
|
||||
lego --email you@example.com --dns allinkl --domains my.example.org run
|
||||
lego --email you@example.com --dns allinkl -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the ArvanCloud provider:
|
||||
|
||||
```bash
|
||||
ARVANCLOUD_API_KEY="Apikey xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \
|
||||
lego --email you@example.com --dns arvancloud --domains my.example.org run
|
||||
lego --email you@example.com --dns arvancloud -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the Aurora DNS provider:
|
||||
```bash
|
||||
AURORA_API_KEY=xxxxx \
|
||||
AURORA_SECRET=yyyyyy \
|
||||
lego --email you@example.com --dns auroradns --domains my.example.org run
|
||||
lego --email you@example.com --dns auroradns -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the Autodns provider:
|
||||
```bash
|
||||
AUTODNS_API_USER=username \
|
||||
AUTODNS_API_PASSWORD=supersecretpassword \
|
||||
lego --email you@example.com --dns autodns --domains my.example.org run
|
||||
lego --email you@example.com --dns autodns -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -31,32 +31,32 @@ Here is an example bash command using the Azure DNS provider:
|
||||
AZURE_CLIENT_ID=<your service principal client ID> \
|
||||
AZURE_TENANT_ID=<your service principal tenant ID> \
|
||||
AZURE_CLIENT_SECRET=<your service principal client secret> \
|
||||
lego --domains example.com --email your_example@email.com --dns azuredns run
|
||||
lego --email you@example.com --dns azuredns -d '*.example.com' -d example.com run
|
||||
|
||||
### Using client certificate
|
||||
|
||||
AZURE_CLIENT_ID=<your service principal client ID> \
|
||||
AZURE_TENANT_ID=<your service principal tenant ID> \
|
||||
AZURE_CLIENT_CERTIFICATE_PATH=<your service principal certificate path> \
|
||||
lego --domains example.com --email your_example@email.com --dns azuredns run
|
||||
lego --email you@example.com --dns azuredns -d '*.example.com' -d example.com run
|
||||
|
||||
### Using Azure CLI
|
||||
|
||||
az login \
|
||||
lego --domains example.com --email your_example@email.com --dns azuredns run
|
||||
lego --email you@example.com --dns azuredns -d '*.example.com' -d example.com run
|
||||
|
||||
### Using Managed Identity (Azure VM)
|
||||
|
||||
AZURE_TENANT_ID=<your service principal tenant ID> \
|
||||
AZURE_RESOURCE_GROUP=<your target zone resource group name> \
|
||||
lego --domains example.com --email your_example@email.com --dns azuredns run
|
||||
lego --email you@example.com --dns azuredns -d '*.example.com' -d example.com run
|
||||
|
||||
### Using Managed Identity (Azure Arc)
|
||||
|
||||
AZURE_TENANT_ID=<your service principal tenant ID> \
|
||||
IMDS_ENDPOINT=http://localhost:40342 \
|
||||
IDENTITY_ENDPOINT=http://localhost:40342/metadata/identity/oauth2/token \
|
||||
lego --domains example.com --email your_example@email.com --dns azuredns run
|
||||
lego --email you@example.com --dns azuredns -d '*.example.com' -d example.com run
|
||||
|
||||
```
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Bindman provider:
|
||||
|
||||
```bash
|
||||
BINDMAN_MANAGER_ADDRESS=<your bindman manager address> \
|
||||
lego --email you@example.com --dns bindman --domains my.example.org run
|
||||
lego --email you@example.com --dns bindman -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -32,7 +32,7 @@ BLUECAT_USER_NAME=myusername \
|
||||
BLUECAT_CONFIG_NAME=myconfig \
|
||||
BLUECAT_SERVER_URL=https://bam.example.com \
|
||||
BLUECAT_TTL=30 \
|
||||
lego --email you@example.com --dns bluecat --domains my.example.org run
|
||||
lego --email you@example.com --dns bluecat -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -31,7 +31,7 @@ Here is an example bash command using the Brandit (deprecated) provider:
|
||||
```bash
|
||||
BRANDIT_API_KEY=xxxxxxxxxxxxxxxxxxxxx \
|
||||
BRANDIT_API_USERNAME=yyyyyyyyyyyyyyyyyyyy \
|
||||
lego --email myemail@example.com --dns brandit --domains my.example.org run
|
||||
lego --email you@example.com --dns brandit -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Bunny provider:
|
||||
|
||||
```bash
|
||||
BUNNY_API_KEY=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx \
|
||||
lego --email you@example.com --dns bunny --domains my.example.org run
|
||||
lego --email you@example.com --dns bunny -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Checkdomain provider:
|
||||
|
||||
```bash
|
||||
CHECKDOMAIN_TOKEN=yoursecrettoken \
|
||||
lego --email you@example.com --dns checkdomain --domains my.example.org run
|
||||
lego --email you@example.com --dns checkdomain -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Civo provider:
|
||||
|
||||
```bash
|
||||
CIVO_TOKEN=xxxxxx \
|
||||
lego --email you@example.com --dns civo --domains my.example.org run
|
||||
lego --email you@example.com --dns civo -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -29,7 +29,7 @@ Here is an example bash command using the CloudDNS provider:
|
||||
CLOUDDNS_CLIENT_ID=bLsdFAks23429841238feb177a572aX \
|
||||
CLOUDDNS_EMAIL=you@example.com \
|
||||
CLOUDDNS_PASSWORD=b9841238feb177a84330f \
|
||||
lego --email you@example.com --dns clouddns --domains my.example.org run
|
||||
lego --email you@example.com --dns clouddns -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,12 +28,12 @@ Here is an example bash command using the Cloudflare provider:
|
||||
```bash
|
||||
CLOUDFLARE_EMAIL=you@example.com \
|
||||
CLOUDFLARE_API_KEY=b9841238feb177a84330febba8a83208921177bffe733 \
|
||||
lego --email you@example.com --dns cloudflare --domains my.example.org run
|
||||
lego --email you@example.com --dns cloudflare -d '*.example.com' -d example.com run
|
||||
|
||||
# or
|
||||
|
||||
CLOUDFLARE_DNS_API_TOKEN=1234567890abcdefghijklmnopqrstuvwxyz \
|
||||
lego --email you@example.com --dns cloudflare --domains my.example.org run
|
||||
lego --email you@example.com --dns cloudflare -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the ClouDNS provider:
|
||||
```bash
|
||||
CLOUDNS_AUTH_ID=xxxx \
|
||||
CLOUDNS_AUTH_PASSWORD=yyyy \
|
||||
lego --email you@example.com --dns cloudns --domains my.example.org run
|
||||
lego --email you@example.com --dns cloudns -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -29,7 +29,7 @@ Here is an example bash command using the Cloud.ru provider:
|
||||
CLOUDRU_SERVICE_INSTANCE_ID=ppp \
|
||||
CLOUDRU_KEY_ID=xxx \
|
||||
CLOUDRU_SECRET=yyy \
|
||||
lego --email you@example.com --dns cloudru --domains my.example.org run
|
||||
lego --email you@example.com --dns cloudru -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the CloudXNS (Deprecated) provider:
|
||||
```bash
|
||||
CLOUDXNS_API_KEY=xxxx \
|
||||
CLOUDXNS_SECRET_KEY=yyyy \
|
||||
lego --email you@example.com --dns cloudxns --domains my.example.org run
|
||||
lego --email you@example.com --dns cloudxns -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -29,7 +29,7 @@ Here is an example bash command using the ConoHa provider:
|
||||
CONOHA_TENANT_ID=487727e3921d44e3bfe7ebb337bf085e \
|
||||
CONOHA_API_USERNAME=xxxx \
|
||||
CONOHA_API_PASSWORD=yyyy \
|
||||
lego --email you@example.com --dns conoha --domains my.example.org run
|
||||
lego --email you@example.com --dns conoha -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the Constellix provider:
|
||||
```bash
|
||||
CONSTELLIX_API_KEY=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx \
|
||||
CONSTELLIX_SECRET_KEY=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx \
|
||||
lego --email you@example.com --dns constellix --domains my.example.org run
|
||||
lego --email you@example.com --dns constellix -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the Core-Networks provider:
|
||||
```bash
|
||||
CORENETWORKS_LOGIN="xxxx" \
|
||||
CORENETWORKS_PASSWORD="yyyy" \
|
||||
lego --email myemail@example.com --dns corenetworks --domains my.example.org run
|
||||
lego --email you@example.com --dns corenetworks -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -31,7 +31,7 @@ Here is an example bash command using the CPanel/WHM provider:
|
||||
CPANEL_USERNAME = "yyyy"
|
||||
CPANEL_TOKEN = "xxxx"
|
||||
CPANEL_BASE_URL = "https://example.com:2083" \
|
||||
lego --email you@example.com --dns cpanel --domains my.example.org run
|
||||
lego --email you@example.com --dns cpanel -d '*.example.com' -d example.com run
|
||||
|
||||
## WHM
|
||||
|
||||
@ -39,7 +39,7 @@ CPANEL_MODE = whm
|
||||
CPANEL_USERNAME = "yyyy"
|
||||
CPANEL_TOKEN = "xxxx"
|
||||
CPANEL_BASE_URL = "https://example.com:2087" \
|
||||
lego --email you@example.com --dns cpanel --domains my.example.org run
|
||||
lego --email you@example.com --dns cpanel -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Derak Cloud provider:
|
||||
|
||||
```bash
|
||||
DERAK_API_KEY="xxxxxxxxxxxxxxxxxxxxx" \
|
||||
lego --email myemail@example.com --dns derak --domains my.example.org run
|
||||
lego --email you@example.com --dns derak -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the deSEC.io provider:
|
||||
|
||||
```bash
|
||||
DESEC_TOKEN=x-xxxxxxxxxxxxxxxxxxxxxxxxxx \
|
||||
lego --email you@example.com --dns desec --domains my.example.org run
|
||||
lego --email you@example.com --dns desec -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the Designate DNSaaS for Openstack provide
|
||||
```bash
|
||||
# With a `clouds.yaml`
|
||||
OS_CLOUD=my_openstack \
|
||||
lego --email you@example.com --dns designate --domains my.example.org run
|
||||
lego --email you@example.com --dns designate -d '*.example.com' -d example.com run
|
||||
|
||||
# or
|
||||
|
||||
@ -37,7 +37,7 @@ OS_REGION_NAME=RegionOne \
|
||||
OS_PROJECT_ID=23d4522a987d4ab529f722a007c27846
|
||||
OS_USERNAME=myuser \
|
||||
OS_PASSWORD=passw0rd \
|
||||
lego --email you@example.com --dns designate --domains my.example.org run
|
||||
lego --email you@example.com --dns designate -d '*.example.com' -d example.com run
|
||||
|
||||
# or
|
||||
|
||||
@ -46,7 +46,7 @@ OS_REGION_NAME=RegionOne \
|
||||
OS_AUTH_TYPE=v3applicationcredential \
|
||||
OS_APPLICATION_CREDENTIAL_ID=imn74uq0or7dyzz20dwo1ytls4me8dry \
|
||||
OS_APPLICATION_CREDENTIAL_SECRET=68FuSPSdQqkFQYH5X1OoriEIJOwyLtQ8QSqXZOc9XxFK1A9tzZT6He2PfPw0OMja \
|
||||
lego --email you@example.com --dns designate --domains my.example.org run
|
||||
lego --email you@example.com --dns designate -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Digital Ocean provider:
|
||||
|
||||
```bash
|
||||
DO_AUTH_TOKEN=xxxxxx \
|
||||
lego --email you@example.com --dns digitalocean --domains my.example.org run
|
||||
lego --email you@example.com --dns digitalocean -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -29,7 +29,7 @@ Here is an example bash command using the DirectAdmin provider:
|
||||
DIRECTADMIN_API_URL="http://example.com:2222" \
|
||||
DIRECTADMIN_USERNAME=xxxx \
|
||||
DIRECTADMIN_PASSWORD=yyy \
|
||||
lego --email you@example.com --dns directadmin --domains my.example.org run
|
||||
lego --email you@example.com --dns directadmin -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -26,11 +26,11 @@ Configuration for [dnsHome.de](https://www.dnshome.de).
|
||||
Here is an example bash command using the dnsHome.de provider:
|
||||
|
||||
```bash
|
||||
DNSHOMEDE_CREDENTIALS=sub.example.org:password \
|
||||
lego --email you@example.com --dns dnshomede --domains example.org --domains '*.example.org' run
|
||||
DNSHOMEDE_CREDENTIALS=example.org:password \
|
||||
lego --email you@example.com --dns dnshomede -d '*.example.com' -d example.com run
|
||||
|
||||
DNSHOMEDE_CREDENTIALS=my.example.org:password1,demo.example.org:password2 \
|
||||
lego --email you@example.com --dns dnshomede --domains my.example.org --domains demo.example.org
|
||||
lego --email you@example.com --dns dnshomede -d my.example.org -d demo.example.org
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the DNSimple provider:
|
||||
|
||||
```bash
|
||||
DNSIMPLE_OAUTH_TOKEN=1234567890abcdefghijklmnopqrstuvwxyz \
|
||||
lego --email you@example.com --dns dnsimple --domains my.example.org run
|
||||
lego --email you@example.com --dns dnsimple -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the DNS Made Easy provider:
|
||||
```bash
|
||||
DNSMADEEASY_API_KEY=xxxxxx \
|
||||
DNSMADEEASY_API_SECRET=yyyyy \
|
||||
lego --email you@example.com --dns dnsmadeeasy --domains my.example.org run
|
||||
lego --email you@example.com --dns dnsmadeeasy -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the DNSPod (deprecated) provider:
|
||||
|
||||
```bash
|
||||
DNSPOD_API_KEY=xxxxxx \
|
||||
lego --email you@example.com --dns dnspod --domains my.example.org run
|
||||
lego --email you@example.com --dns dnspod -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Domain Offensive (do.de) provider:
|
||||
|
||||
```bash
|
||||
DODE_TOKEN=xxxxxx \
|
||||
lego --email you@example.com --dns dode --domains my.example.org run
|
||||
lego --email you@example.com --dns dode -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the Domeneshop provider:
|
||||
```bash
|
||||
DOMENESHOP_API_TOKEN=<token> \
|
||||
DOMENESHOP_API_SECRET=<secret> \
|
||||
lego --email example@example.com --dns domeneshop --domains example.com run
|
||||
lego --email example@example.com --dns domeneshop -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the DreamHost provider:
|
||||
|
||||
```bash
|
||||
DREAMHOST_API_KEY="YOURAPIKEY" \
|
||||
lego --email you@example.com --dns dreamhost --domains my.example.org run
|
||||
lego --email you@example.com --dns dreamhost -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Duck DNS provider:
|
||||
|
||||
```bash
|
||||
DUCKDNS_TOKEN=xxxxxx \
|
||||
lego --email you@example.com --dns duckdns --domains my.example.org run
|
||||
lego --email you@example.com --dns duckdns -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -29,7 +29,7 @@ Here is an example bash command using the Dyn provider:
|
||||
DYN_CUSTOMER_NAME=xxxxxx \
|
||||
DYN_USER_NAME=yyyyy \
|
||||
DYN_PASSWORD=zzzz \
|
||||
lego --email you@example.com --dns dyn --domains my.example.org run
|
||||
lego --email you@example.com --dns dyn -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Dynu provider:
|
||||
|
||||
```bash
|
||||
DYNU_API_KEY=1234567890abcdefghijklmnopqrstuvwxyz \
|
||||
lego --email you@example.com --dns dynu --domains my.example.org run
|
||||
lego --email you@example.com --dns dynu -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -26,9 +26,9 @@ Configuration for [EasyDNS](https://easydns.com/).
|
||||
Here is an example bash command using the EasyDNS provider:
|
||||
|
||||
```bash
|
||||
EASYDNS_TOKEN=<your token> \
|
||||
EASYDNS_KEY=<your key> \
|
||||
lego --email you@example.com --dns easydns --domains my.example.org run
|
||||
EASYDNS_TOKEN=xxx \
|
||||
EASYDNS_KEY=yyy \
|
||||
lego --email you@example.com --dns easydns -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -30,7 +30,7 @@ AKAMAI_CLIENT_SECRET=abcdefghijklmnopqrstuvwxyz1234567890ABCDEFG= \
|
||||
AKAMAI_CLIENT_TOKEN=akab-mnbvcxzlkjhgfdsapoiuytrewq1234567 \
|
||||
AKAMAI_HOST=akab-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.luna.akamaiapis.net \
|
||||
AKAMAI_ACCESS_TOKEN=akab-1234567890qwerty-asdfghjklzxcvtnu \
|
||||
lego --email you@example.com --dns edgedns --domains my.example.org run
|
||||
lego --email you@example.com --dns edgedns -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -30,7 +30,7 @@ EFFICIENTIP_USERNAME="user" \
|
||||
EFFICIENTIP_PASSWORD="secret" \
|
||||
EFFICIENTIP_HOSTNAME="ipam.example.org" \
|
||||
EFFICIENTIP_DNS_NAME="dns.smart" \
|
||||
lego --email you@example.com --dns efficientip --domains my.example.org run
|
||||
lego --email you@example.com --dns efficientip -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Epik provider:
|
||||
|
||||
```bash
|
||||
EPIK_SIGNATURE=xxxxxxxxxxxxxxxxxxxxxxxxxx \
|
||||
lego --email you@example.com --dns epik --domains my.example.org run
|
||||
lego --email you@example.com --dns epik -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -26,7 +26,7 @@ Here is an example bash command using the External program provider:
|
||||
|
||||
```bash
|
||||
EXEC_PATH=/the/path/to/myscript.sh \
|
||||
lego --email you@example.com --dns exec --domains my.example.org run
|
||||
lego --email you@example.com --dns exec -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
@ -61,9 +61,7 @@ For example, requesting a certificate for the domain 'my.example.org' can be ach
|
||||
|
||||
```bash
|
||||
EXEC_PATH=./update-dns.sh \
|
||||
lego --email you@example.com \
|
||||
--dns exec \
|
||||
--domains my.example.org run
|
||||
lego --email you@example.com --dns exec --d my.example.org run
|
||||
```
|
||||
|
||||
It will then call the program './update-dns.sh' with like this:
|
||||
@ -83,9 +81,7 @@ If you want to use the raw domain, token, and keyAuth values with your program,
|
||||
```bash
|
||||
EXEC_MODE=RAW \
|
||||
EXEC_PATH=./update-dns.sh \
|
||||
lego --email you@example.com \
|
||||
--dns exec \
|
||||
--domains my.example.org run
|
||||
lego --email you@example.com --dns exec -d my.example.org run
|
||||
```
|
||||
|
||||
It will then call the program `./update-dns.sh` like this:
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the Exoscale provider:
|
||||
```bash
|
||||
EXOSCALE_API_KEY=abcdefghijklmnopqrstuvwx \
|
||||
EXOSCALE_API_SECRET=xxxxxxx \
|
||||
lego --email you@example.com --dns exoscale --domains my.example.org run
|
||||
lego --email you@example.com --dns exoscale -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the freemyip.com provider:
|
||||
|
||||
```bash
|
||||
FREEMYIP_TOKEN=xxxxxx \
|
||||
lego --email you@example.com --dns freemyip --domains my.example.org run
|
||||
lego --email you@example.com --dns freemyip -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Gandi provider:
|
||||
|
||||
```bash
|
||||
GANDI_API_KEY=abcdefghijklmnopqrstuvwx \
|
||||
lego --email you@example.com --dns gandi --domains my.example.org run
|
||||
lego --email you@example.com --dns gandi -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Gandi Live DNS (v5) provider:
|
||||
|
||||
```bash
|
||||
GANDIV5_PERSONAL_ACCESS_TOKEN=abcdefghijklmnopqrstuvwx \
|
||||
lego --email you@example.com --dns gandiv5 --domains my.example.org run
|
||||
lego --email you@example.com --dns gandiv5 -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -26,12 +26,9 @@ Configuration for [Google Cloud](https://cloud.google.com).
|
||||
Here is an example bash command using the Google Cloud provider:
|
||||
|
||||
```bash
|
||||
GCE_PROJECT="gc-project-id" GCE_SERVICE_ACCOUNT_FILE="/path/to/svc/account/file.json" lego \
|
||||
--email="abc@email.com" \
|
||||
--domains="example.com" \
|
||||
--dns="gcloud" \
|
||||
--path="${HOME}/.lego" \
|
||||
run
|
||||
GCE_PROJECT="gc-project-id" \
|
||||
GCE_SERVICE_ACCOUNT_FILE="/path/to/svc/account/file.json" \
|
||||
lego --email you@email.com --dns gcloud -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the G-Core provider:
|
||||
|
||||
```bash
|
||||
GCORE_PERMANENT_API_TOKEN=xxxxx \
|
||||
lego --email you@example.com --dns gcore --domains my.example.org run
|
||||
lego --email you@example.com --dns gcore -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the Glesys provider:
|
||||
```bash
|
||||
GLESYS_API_USER=xxxxx \
|
||||
GLESYS_API_KEY=yyyyy \
|
||||
lego --email you@example.com --dns glesys --domains my.example.org run
|
||||
lego --email you@example.com --dns glesys -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the Go Daddy provider:
|
||||
```bash
|
||||
GODADDY_API_KEY=xxxxxxxx \
|
||||
GODADDY_API_SECRET=yyyyyyyy \
|
||||
lego --email you@example.com --dns godaddy --domains my.example.org run
|
||||
lego --email you@example.com --dns godaddy -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Google Domains provider:
|
||||
|
||||
```bash
|
||||
GOOGLE_DOMAINS_ACCESS_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \
|
||||
lego --email you@example.com --dns googledomains --domains my.example.org run
|
||||
lego --email you@example.com --dns googledomains -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Hetzner provider:
|
||||
|
||||
```bash
|
||||
HETZNER_API_KEY=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx \
|
||||
lego --email you@example.com --dns hetzner --domains my.example.org run
|
||||
lego --email you@example.com --dns hetzner -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Hosting.de provider:
|
||||
|
||||
```bash
|
||||
HOSTINGDE_API_KEY=xxxxxxxx \
|
||||
lego --email you@example.com --dns hostingde --domains my.example.org run
|
||||
lego --email you@example.com --dns hostingde -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Hosttech provider:
|
||||
|
||||
```bash
|
||||
HOSTTECH_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxx \
|
||||
lego --email you@example.com --dns hosttech --domains my.example.org run
|
||||
lego --email you@example.com --dns hosttech -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the http.net provider:
|
||||
|
||||
```bash
|
||||
HTTPNET_API_KEY=xxxxxxxx \
|
||||
lego --email you@example.com --dns httpnet --domains my.example.org run
|
||||
lego --email you@example.com --dns httpnet -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the HTTP request provider:
|
||||
|
||||
```bash
|
||||
HTTPREQ_ENDPOINT=http://my.server.com:9090 \
|
||||
lego --email you@example.com --dns httpreq --domains my.example.org run
|
||||
lego --email you@example.com --dns httpreq -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -29,7 +29,7 @@ Here is an example bash command using the Huawei Cloud provider:
|
||||
HUAWEICLOUD_ACCESS_KEY_ID=your-access-key-id \
|
||||
HUAWEICLOUD_SECRET_ACCESS_KEY=your-secret-access-key \
|
||||
HUAWEICLOUD_REGION=cn-south-1 \
|
||||
lego --email you@example.com --dns huaweicloud --domains my.example.org run
|
||||
lego --email you@example.com --dns huaweicloud -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,10 +27,10 @@ Here is an example bash command using the Hurricane Electric DNS provider:
|
||||
|
||||
```bash
|
||||
HURRICANE_TOKENS=example.org:token \
|
||||
lego --email you@example.com --dns hurricane --domains example.org --domains '*.example.org' run
|
||||
lego --email you@example.com --dns hurricane -d '*.example.com' -d example.com run
|
||||
|
||||
HURRICANE_TOKENS=my.example.org:token1,demo.example.org:token2 \
|
||||
lego --email you@example.com --dns hurricane --domains my.example.org --domains demo.example.org
|
||||
lego --email you@example.com --dns hurricane -d my.example.org -d demo.example.org
|
||||
```
|
||||
|
||||
|
||||
|
@ -26,7 +26,7 @@ Configuration for [HyperOne](https://www.hyperone.com).
|
||||
Here is an example bash command using the HyperOne provider:
|
||||
|
||||
```bash
|
||||
lego --email you@example.com --dns hyperone --domains my.example.org run
|
||||
lego --email you@example.com --dns hyperone -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the IBM Cloud (SoftLayer) provider:
|
||||
```bash
|
||||
SOFTLAYER_USERNAME=xxxxx \
|
||||
SOFTLAYER_API_KEY=yyyyy \
|
||||
lego --email you@example.com --dns ibmcloud --domains my.example.org run
|
||||
lego --email you@example.com --dns ibmcloud -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -29,7 +29,7 @@ Here is an example bash command using the Internet Initiative Japan provider:
|
||||
IIJ_API_ACCESS_KEY=xxxxxxxx \
|
||||
IIJ_API_SECRET_KEY=yyyyyy \
|
||||
IIJ_DO_SERVICE_CODE=zzzzzz \
|
||||
lego --email you@example.com --dns iij --domains my.example.org run
|
||||
lego --email you@example.com --dns iij -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the IIJ DNS Platform Service provider:
|
||||
```bash
|
||||
IIJ_DPF_API_TOKEN=xxxxxxxx \
|
||||
IIJ_DPF_DPM_SERVICE_CODE=yyyyyy \
|
||||
lego --email you@example.com --dns iijdpf --domains my.example.org run
|
||||
lego --email you@example.com --dns iijdpf -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -29,7 +29,7 @@ Here is an example bash command using the Infoblox provider:
|
||||
INFOBLOX_USERNAME=api-user-529 \
|
||||
INFOBLOX_PASSWORD=b9841238feb177a84330febba8a83208921177bffe733 \
|
||||
INFOBLOX_HOST=infoblox.example.org
|
||||
lego --email you@example.com --dns infoblox --domains my.example.org run
|
||||
lego --email you@example.com --dns infoblox -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Infomaniak provider:
|
||||
|
||||
```bash
|
||||
INFOMANIAK_ACCESS_TOKEN=1234567898765432 \
|
||||
lego --email you@example.com --dns infomaniak --domains my.example.org run
|
||||
lego --email you@example.com --dns infomaniak -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the Internet.bs provider:
|
||||
```bash
|
||||
INTERNET_BS_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxx \
|
||||
INTERNET_BS_PASSWORD=yyyyyyyyyyyyyyyyyyyyyyyyyy \
|
||||
lego --email you@example.com --dns internetbs --domains my.example.org run
|
||||
lego --email you@example.com --dns internetbs -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,13 +28,13 @@ Here is an example bash command using the INWX provider:
|
||||
```bash
|
||||
INWX_USERNAME=xxxxxxxxxx \
|
||||
INWX_PASSWORD=yyyyyyyyyy \
|
||||
lego --email you@example.com --dns inwx --domains my.example.org run
|
||||
lego --email you@example.com --dns inwx -d '*.example.com' -d example.com run
|
||||
|
||||
# 2FA
|
||||
INWX_USERNAME=xxxxxxxxxx \
|
||||
INWX_PASSWORD=yyyyyyyyyy \
|
||||
INWX_SHARED_SECRET=zzzzzzzzzz \
|
||||
lego --email you@example.com --dns inwx --domains my.example.org run
|
||||
lego --email you@example.com --dns inwx -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Ionos provider:
|
||||
|
||||
```bash
|
||||
IONOS_API_KEY=xxxxxxxx \
|
||||
lego --email you@example.com --dns ionos --domains my.example.org run
|
||||
lego --email you@example.com --dns ionos -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the IPv64 provider:
|
||||
|
||||
```bash
|
||||
IPV64_API_KEY=xxxxxx \
|
||||
lego --email you@example.com --dns ipv64 --domains my.example.org run
|
||||
lego --email you@example.com --dns ipv64 -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the iwantmyname provider:
|
||||
```bash
|
||||
IWANTMYNAME_USERNAME=xxxxxxxx \
|
||||
IWANTMYNAME_PASSWORD=xxxxxxxx \
|
||||
lego --email you@example.com --dns iwantmyname --domains my.example.org run
|
||||
lego --email you@example.com --dns iwantmyname -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -30,17 +30,17 @@ Here is an example bash command using the Joker provider:
|
||||
JOKER_API_MODE=SVC \
|
||||
JOKER_USERNAME=<your email> \
|
||||
JOKER_PASSWORD=<your password> \
|
||||
lego --email you@example.com --dns joker --domains my.example.org run
|
||||
lego --email you@example.com --dns joker -d '*.example.com' -d example.com run
|
||||
|
||||
# DMAPI
|
||||
JOKER_API_MODE=DMAPI \
|
||||
JOKER_USERNAME=<your email> \
|
||||
JOKER_PASSWORD=<your password> \
|
||||
lego --email you@example.com --dns joker --domains my.example.org run
|
||||
lego --email you@example.com --dns joker -d '*.example.com' -d example.com run
|
||||
## or
|
||||
JOKER_API_MODE=DMAPI \
|
||||
JOKER_API_KEY=<your API key> \
|
||||
lego --email you@example.com --dns joker --domains my.example.org run
|
||||
lego --email you@example.com --dns joker -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Liara provider:
|
||||
|
||||
```bash
|
||||
LIARA_API_KEY="xxxxxxxxxxxxxxxxxxxxx" \
|
||||
lego --email myemail@example.com --dns liara --domains my.example.org run
|
||||
lego --email you@example.com --dns liara -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Lima-City provider:
|
||||
|
||||
```bash
|
||||
LIMACITY_API_KEY="xxxxxxxxxxxxxxxxxxxxx" \
|
||||
lego --email myemail@example.com --dns limacity --domains my.example.org run
|
||||
lego --email you@example.com --dns limacity -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Linode (v4) provider:
|
||||
|
||||
```bash
|
||||
LINODE_TOKEN=xxxxx \
|
||||
lego --email you@example.com --dns linode --domains my.example.org run
|
||||
lego --email you@example.com --dns linode -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the Liquid Web provider:
|
||||
```bash
|
||||
LWAPI_USERNAME=someuser \
|
||||
LWAPI_PASSWORD=somepass \
|
||||
lego --email you@example.com --dns liquidweb --domains my.example.org run
|
||||
lego --email you@example.com --dns liquidweb -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the Loopia provider:
|
||||
```bash
|
||||
LOOPIA_API_USER=xxxxxxxx \
|
||||
LOOPIA_API_PASSWORD=yyyyyyyy \
|
||||
lego --email my@email.com --dns loopia --domains my.domain.com run
|
||||
lego --email you@example.com --dns loopia -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the LuaDNS provider:
|
||||
```bash
|
||||
LUADNS_API_USERNAME=youremail \
|
||||
LUADNS_API_TOKEN=xxxxxxxx \
|
||||
lego --email you@example.com --dns luadns --domains my.example.org run
|
||||
lego --email you@example.com --dns luadns -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -29,7 +29,7 @@ Here is an example bash command using the Mail-in-a-Box provider:
|
||||
MAILINABOX_EMAIL=user@example.com \
|
||||
MAILINABOX_PASSWORD=yyyy \
|
||||
MAILINABOX_BASE_URL=https://box.example.com \
|
||||
lego --email you@example.com --dns mailinabox --domains my.example.org run
|
||||
lego --email you@example.com --dns mailinabox -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the Metaname provider:
|
||||
```bash
|
||||
METANAME_ACCOUNT_REFERENCE=xxxx \
|
||||
METANAME_API_KEY=yyyyyyy \
|
||||
lego --email you@example.com --dns metaname --domains my.example.org run
|
||||
lego --email you@example.com --dns metaname -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the mijn.host provider:
|
||||
|
||||
```bash
|
||||
MIJNHOST_API_KEY="xxxxxxxxxxxxxxxxxxxxx" \
|
||||
lego --email myemail@example.com --dns mijnhost --domains my.example.org run
|
||||
lego --email you@example.com --dns mijnhost -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Mittwald provider:
|
||||
|
||||
```bash
|
||||
MITTWALD_TOKEN=my-token \
|
||||
lego --email you@example.com --dns mittwald --domains my.example.org run
|
||||
lego --email you@example.com --dns mittwald -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the MyDNS.jp provider:
|
||||
```bash
|
||||
MYDNSJP_MASTER_ID=xxxxx \
|
||||
MYDNSJP_PASSWORD=xxxxx \
|
||||
lego --email you@example.com --dns mydnsjp --domains my.example.org run
|
||||
lego --email you@example.com --dns mydnsjp -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the MythicBeasts provider:
|
||||
```bash
|
||||
MYTHICBEASTS_USERNAME=myuser \
|
||||
MYTHICBEASTS_PASSWORD=mypass \
|
||||
lego --email you@example.com --dns mythicbeasts --domains my.example.org run
|
||||
lego --email you@example.com --dns mythicbeasts -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -33,7 +33,7 @@ Here is an example bash command using the Namecheap provider:
|
||||
```bash
|
||||
NAMECHEAP_API_USER=user \
|
||||
NAMECHEAP_API_KEY=key \
|
||||
lego --email you@example.com --dns namecheap --domains my.example.org run
|
||||
lego --email you@example.com --dns namecheap -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the Name.com provider:
|
||||
```bash
|
||||
NAMECOM_USERNAME=foo.bar \
|
||||
NAMECOM_API_TOKEN=a379a6f6eeafb9a55e378c118034e2751e682fab \
|
||||
lego --email you@example.com --dns namedotcom --domains my.example.org run
|
||||
lego --email you@example.com --dns namedotcom -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Namesilo provider:
|
||||
|
||||
```bash
|
||||
NAMESILO_API_KEY=b9841238feb177a84330febba8a83208921177bffe733 \
|
||||
lego --email you@example.com --dns namesilo --domains my.example.org run
|
||||
lego --email you@example.com --dns namesilo -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the NearlyFreeSpeech.NET provider:
|
||||
```bash
|
||||
NEARLYFREESPEECH_API_KEY=xxxxxx \
|
||||
NEARLYFREESPEECH_LOGIN=xxxx \
|
||||
lego --email you@example.com --dns nearlyfreespeech --domains my.example.org run
|
||||
lego --email you@example.com --dns nearlyfreespeech -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -29,7 +29,7 @@ Here is an example bash command using the Netcup provider:
|
||||
NETCUP_CUSTOMER_NUMBER=xxxx \
|
||||
NETCUP_API_KEY=yyyy \
|
||||
NETCUP_API_PASSWORD=zzzz \
|
||||
lego --email you@example.com --dns netcup --domains my.example.org run
|
||||
lego --email you@example.com --dns netcup -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Netlify provider:
|
||||
|
||||
```bash
|
||||
NETLIFY_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \
|
||||
lego --email you@example.com --dns netlify --domains my.example.org run
|
||||
lego --email you@example.com --dns netlify -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -34,7 +34,7 @@ NICMANAGER_API_PASSWORD = "password" \
|
||||
# Optionally, if your account has TOTP enabled, set the secret here
|
||||
NICMANAGER_API_OTP = "long-secret" \
|
||||
|
||||
lego --email you@example.com --dns nicmanager --domains my.example.org run
|
||||
lego --email you@example.com --dns nicmanager -d '*.example.com' -d example.com run
|
||||
|
||||
## Login using account name + username
|
||||
|
||||
@ -45,7 +45,7 @@ NICMANAGER_API_PASSWORD = "password" \
|
||||
# Optionally, if your account has TOTP enabled, set the secret here
|
||||
NICMANAGER_API_OTP = "long-secret" \
|
||||
|
||||
lego --email you@example.com --dns nicmanager --domains my.example.org run
|
||||
lego --email you@example.com --dns nicmanager -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the NIFCloud provider:
|
||||
```bash
|
||||
NIFCLOUD_ACCESS_KEY_ID=xxxx \
|
||||
NIFCLOUD_SECRET_ACCESS_KEY=yyyy \
|
||||
lego --email you@example.com --dns nifcloud --domains my.example.org run
|
||||
lego --email you@example.com --dns nifcloud -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Njalla provider:
|
||||
|
||||
```bash
|
||||
NJALLA_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxx \
|
||||
lego --email you@example.com --dns njalla --domains my.example.org run
|
||||
lego --email you@example.com --dns njalla -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the Nodion provider:
|
||||
|
||||
```bash
|
||||
NODION_API_TOKEN="xxxxxxxxxxxxxxxxxxxxx" \
|
||||
lego --email myemail@example.com --dns nodion --domains my.example.org run
|
||||
lego --email you@example.com --dns nodion -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the NS1 provider:
|
||||
|
||||
```bash
|
||||
NS1_API_KEY=xxxx \
|
||||
lego --email you@example.com --dns ns1 --domains my.example.org run
|
||||
lego --email you@example.com --dns ns1 -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -33,7 +33,7 @@ OCI_USER_OCID="ocid1.user.oc1..secret" \
|
||||
OCI_PUBKEY_FINGERPRINT="00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00" \
|
||||
OCI_REGION="us-phoenix-1" \
|
||||
OCI_COMPARTMENT_OCID="ocid1.tenancy.oc1..secret" \
|
||||
lego --email you@example.com --dns oraclecloud --domains my.example.org run
|
||||
lego --email you@example.com --dns oraclecloud -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -32,20 +32,20 @@ OVH_APPLICATION_KEY=1234567898765432 \
|
||||
OVH_APPLICATION_SECRET=b9841238feb177a84330febba8a832089 \
|
||||
OVH_CONSUMER_KEY=256vfsd347245sdfg \
|
||||
OVH_ENDPOINT=ovh-eu \
|
||||
lego --email you@example.com --dns ovh --domains my.example.org run
|
||||
lego --email you@example.com --dns ovh -d '*.example.com' -d example.com run
|
||||
|
||||
# Or Access Token:
|
||||
|
||||
OVH_ACCESS_TOKEN=xxx \
|
||||
OVH_ENDPOINT=ovh-eu \
|
||||
lego --email you@example.com --dns ovh --domains my.example.org run
|
||||
lego --email you@example.com --dns ovh -d '*.example.com' -d example.com run
|
||||
|
||||
# Or OAuth2:
|
||||
|
||||
OVH_CLIENT_ID=yyy \
|
||||
OVH_CLIENT_SECRET=xxx \
|
||||
OVH_ENDPOINT=ovh-eu \
|
||||
lego --email you@example.com --dns ovh --domains my.example.org run
|
||||
lego --email you@example.com --dns ovh -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the PowerDNS provider:
|
||||
```bash
|
||||
PDNS_API_URL=http://pdns-server:80/ \
|
||||
PDNS_API_KEY=xxxx \
|
||||
lego --email you@example.com --dns pdns --domains my.example.org run
|
||||
lego --email you@example.com --dns pdns -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -29,7 +29,7 @@ Here is an example bash command using the plesk.com provider:
|
||||
PLESK_SERVER_BASE_URL="https://plesk.myserver.com:8443" \
|
||||
PLESK_USERNAME=xxxxxx \
|
||||
PLESK_PASSWORD=yyyyyy \
|
||||
lego --email you@example.com --dns plesk --domains my.example.org run
|
||||
lego --email you@example.com --dns plesk -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the Porkbun provider:
|
||||
```bash
|
||||
PORKBUN_SECRET_API_KEY=xxxxxx \
|
||||
PORKBUN_API_KEY=yyyyyy \
|
||||
lego --email you@example.com --dns porkbun --domains my.example.org run
|
||||
lego --email you@example.com --dns porkbun -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Here is an example bash command using the Rackspace provider:
|
||||
```bash
|
||||
RACKSPACE_USER=xxxx \
|
||||
RACKSPACE_API_KEY=yyyy \
|
||||
lego --email you@example.com --dns rackspace --domains my.example.org run
|
||||
lego --email you@example.com --dns rackspace -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ Here is an example bash command using the RcodeZero provider:
|
||||
|
||||
```bash
|
||||
RCODEZERO_API_TOKEN=<mytoken> \
|
||||
lego --email you@example.com --dns rcodezero --domains my.example.org run
|
||||
lego --email you@example.com --dns rcodezero -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user