Skip to content

Commit cb1425d

Browse files
authored
Merge pull request #73 from Djelibeybi/update-secrets-path
docs: tweak udm-le.env and README.md to use /data/udm-le/.secrets
2 parents 81777c0 + 0d4651e commit cb1425d

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ Out of the box, it has tested support for select [DNS providers](#dns-providers)
1515
## Installation
1616

1717
1. Copy the contents of this repo to your device at `/data/udm-le`.
18-
2. Edit `/data/udm-le.env` and tweak variables to meet your needs.
19-
3. Run `/data/udm-le/udm-le.sh initial`. This will handle your initial certificate generation and setup a systemd service to start the service on boot, as well as a systemd timer to attempt certificate renewal each morning between 0300 and 0305.
18+
2. Edit `/data/udm-le/udm-le.env` and tweak variables to meet your needs.
19+
3. If necessary, create and populate the `/data/udm-le/.secrets` directory with the files required by your DNS provider.
20+
4. Run `/data/udm-le/udm-le.sh initial`. This will handle your initial certificate generation and setup a systemd service to start the service on boot, as well as a systemd timer to attempt certificate renewal each morning between 0300 and 0305.
2021

2122
## DNS Providers
2223

udm-le.env

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ LEGO_EXPERIMENTAL_CNAME_SUPPORT=false
4545
# Azure
4646
#DNS_PROVIDER="azure"
4747
#AZURE_CLIENT_ID=
48-
#AZURE_CLIENT_SECRET_FILE=/root/.secrets/client-secret.txt
48+
#AZURE_CLIENT_SECRET_FILE=/data/udm-le/.secrets/client-secret.txt
4949
#AZURE_ENVIRONMENT=public
5050
#AZURE_RESOURCE_GROUP=udm-le
5151
#AZURE_SUBSCRIPTION_ID=00000000-0000-0000-0000-000000000000
@@ -68,7 +68,7 @@ CLOUDFLARE_DNS_API_TOKEN=YOUR_CLOUDFLARE_API_TOKEN
6868
# Google Cloud DNS
6969
# Note: The default path for the service account file is /root/.secrets
7070
#DNS_PROVIDER="gcloud"
71-
#GCE_SERVICE_ACCOUNT_FILE=/root/.secrets/sa.json
71+
#GCE_SERVICE_ACCOUNT_FILE=/data/udm-le/.secrets/sa.json
7272
#GCE_PROPAGATION_TIMEOUT=3600
7373

7474
# Linode DNS
@@ -94,7 +94,7 @@ CLOUDFLARE_DNS_API_TOKEN=YOUR_CLOUDFLARE_API_TOKEN
9494
#DNS_PROVIDER="oraclecloud"
9595
# If OCI_PRIVKEY_FILE is password protected, uncomment the following line:
9696
#OCI_PRIVKEY_PASS=password
97-
#OCI_PRIVKEY_FILE=/root/.secrets/oci_api_key.pem
97+
#OCI_PRIVKEY_FILE=/data/udm-le/.secrets/oci_api_key.pem
9898
# The following values can be found in ~/.oci/config after
9999
#OCI_PUBKEY_FINGERPRINT=00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
100100
#OCI_TENANCY_OCID=ocid1.tenancy.oc1..secret

0 commit comments

Comments
 (0)