mirror of
https://github.com/systemd/systemd.git
synced 2025-01-23 02:04:32 +03:00
docs: fix LoadCredentialEncrypted example (#27387)
Embedded credential name 'ciphertext.cred' does not match filename 'foobar', refusing.
This commit is contained in:
parent
092e6cd19a
commit
08b61b40ed
@ -195,7 +195,7 @@ The `systemd-creds` tool provides the commands `encrypt` and `decrypt` to
|
||||
encrypt and decrypt/authenticate credentials. Example:
|
||||
|
||||
```sh
|
||||
systemd-creds encrypt plaintext.txt ciphertext.cred
|
||||
systemd-creds encrypt --name=foobar plaintext.txt ciphertext.cred
|
||||
shred -u plaintext.txt
|
||||
systemd-run -P --wait -p LoadCredentialEncrypted=foobar:$(pwd)/ciphertext.cred systemd-creds cat foobar
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user