simplify example
This commit is contained in:
parent
c100b5bded
commit
521a75320c
@ -41,15 +41,15 @@ Save your passwords as encrypted credentials to `/etc/credstore.encrypted/borgpw
|
||||
# systemd-ask-password -n | systemd-creds encrypt --name=borgpw_backupserver2 - /etc/credstore.encrypted/borgpw/backupserver2
|
||||
...
|
||||
```
|
||||
Ensure that the file names, (e.g. backupserver1) match the corresponding part of the `--name` option *after* the underscore (_),
|
||||
and that the folder name matches the part *before* the underscore.
|
||||
Ensure that the file names, (e.g. backupserver1) match the corresponding part of
|
||||
the `--name` option *after* the underscore (_), and that the folder name matches
|
||||
the part *before* the underscore.
|
||||
|
||||
Then uncomment or use the following in your configuration file:
|
||||
Then uncomment or use the following in your configuration file. Adjust `borgpw_backupserver1`
|
||||
according to the name given to the credential.
|
||||
|
||||
```yaml
|
||||
encryption_passcommand: "cat ${CREDENTIALS_DIRECTORY}/borgpw_backupserver1"
|
||||
encryption_passcommand: "cat ${CREDENTIALS_DIRECTORY}/borgpw_backupserver2"
|
||||
...
|
||||
```
|
||||
|
||||
### Environment variable interpolation
|
||||
|
Loading…
x
Reference in New Issue
Block a user