update quickstart docs
All checks were successful
ci/woodpecker/push/deploy-docs Pipeline was successful
All checks were successful
ci/woodpecker/push/deploy-docs Pipeline was successful
This commit is contained in:
parent
b988e4cf51
commit
6c2b04e6b9
2 changed files with 27 additions and 19 deletions
23
README.md
23
README.md
|
@ -12,9 +12,9 @@ Installation of the required CertWarden instance is out of scope of this documen
|
|||
To quickly get started with `certwarden-deploy`, just download the binary...
|
||||
|
||||
```shell
|
||||
# this downloads certwarden-deploy version 0.1.1
|
||||
# this downloads certwarden-deploy version 0.2.1
|
||||
# to /usr/local/bin/certwarden-deploy
|
||||
sudo wget https://code.lila.network/adoralaura/certwarden-deploy/releases/download/0.1.1/certwarden-deploy-0.1.1-linux-amd64 -O /usr/local/bin/certwarden-deploy
|
||||
sudo wget https://code.lila.network/adoralaura/certwarden-deploy/releases/download/0.2.1/certwarden-deploy-0.2.1-linux-amd64 -O /usr/local/bin/certwarden-deploy
|
||||
|
||||
sudo chmod +x /usr/local/bin/certwarden-deploy
|
||||
```
|
||||
|
@ -35,23 +35,24 @@ disable_certificate_validation: false
|
|||
|
||||
# define all managed certificates here
|
||||
certificates:
|
||||
|
||||
# name is a unique identifier that must start and end with an alphanumeric character,
|
||||
# and can contain the following characters: a-zA-Z0-9._-
|
||||
# required
|
||||
- name: test-certificate.example.com
|
||||
|
||||
# Contains the API-Key to fetch the certificate from the server
|
||||
# required
|
||||
|
||||
api_key: examplekey_notvalid_hrzjGDDw8z
|
||||
|
||||
# action to run when certificate was updated or --force is on
|
||||
action: "/usr/bin/systemd reload caddy"
|
||||
|
||||
cert_secret: examplekey_notvalid_hrzjGDDw8z
|
||||
# path where to save the certificate
|
||||
# required
|
||||
file_path: "/path/to/test-certificate.example.com-cert.pem"
|
||||
cert_path: "/path/to/test-certificate.example.com-cert.pem"
|
||||
# Contains the API-Key to fetch the private key from the server
|
||||
# required
|
||||
key_secret: examplekey_notvalid_hrzbbDDw8z
|
||||
# path where to save the private key
|
||||
# required
|
||||
key_path: "/path/to/test-certificate.example.com-key.pem"
|
||||
# action to run when certificate was updated or --force is on
|
||||
action: "/usr/bin/systemd reload caddy"
|
||||
```
|
||||
|
||||
... and run it!
|
||||
|
|
|
@ -19,9 +19,9 @@ Installation of the required CertWarden instance is out of scope of this documen
|
|||
To quickly get started with `certwarden-deploy`, just download the binary...
|
||||
|
||||
```shell
|
||||
# this downloads certwarden-deploy version 0.1.1
|
||||
# this downloads certwarden-deploy version 0.2.1
|
||||
# to /usr/local/bin/certwarden-deploy
|
||||
sudo wget https://code.lila.network/adoralaura/certwarden-deploy/releases/download/0.1.1/certwarden-deploy-0.1.1-linux-amd64 -O /usr/local/bin/certwarden-deploy
|
||||
sudo wget https://code.lila.network/adoralaura/certwarden-deploy/releases/download/0.2.1/certwarden-deploy-0.2.1-linux-amd64 -O /usr/local/bin/certwarden-deploy
|
||||
|
||||
sudo chmod +x /usr/local/bin/certwarden-deploy
|
||||
```
|
||||
|
@ -50,15 +50,22 @@ certificates:
|
|||
|
||||
# Contains the API-Key to fetch the certificate from the server
|
||||
# required
|
||||
|
||||
api_key: examplekey_notvalid_hrzjGDDw8z
|
||||
|
||||
# action to run when certificate was updated or --force is on
|
||||
action: "/usr/bin/systemd reload caddy"
|
||||
cert_secret: examplekey_notvalid_hrzjGDDw8z
|
||||
|
||||
# path where to save the certificate
|
||||
# required
|
||||
file_path: "/path/to/test-certificate.example.com-cert.pem"
|
||||
cert_path: "/path/to/test-certificate.example.com-cert.pem"
|
||||
|
||||
# Contains the API-Key to fetch the private key from the server
|
||||
# required
|
||||
key_secret: examplekey_notvalid_hrzbbDDw8z
|
||||
|
||||
# path where to save the private key
|
||||
# required
|
||||
key_path: "/path/to/test-certificate.example.com-key.pem"
|
||||
|
||||
# action to run when certificate was updated or --force is on
|
||||
action: "/usr/bin/systemd reload caddy"
|
||||
```
|
||||
|
||||
... and run it!
|
||||
|
|
Loading…
Reference in a new issue