diff options
author | Lawrence Thorpe <thorpe_lawrence@yahoo.co.uk> | 2023-04-25 14:41:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-25 15:41:01 +0200 |
commit | 08b61b40ed5717c5186770b2a2f2a21816d7f6c1 (patch) | |
tree | 7a6c91220790547a4e69e3ff68d4dbc2f4198fe6 /docs | |
parent | 092e6cd19adf1ff6bc979034cbe287d92ca2efd7 (diff) | |
download | systemd-08b61b40ed5717c5186770b2a2f2a21816d7f6c1.tar.gz |
docs: fix LoadCredentialEncrypted example (#27387)
Embedded credential name 'ciphertext.cred' does not match filename 'foobar', refusing.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/CREDENTIALS.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/CREDENTIALS.md b/docs/CREDENTIALS.md index 8cdf6d7ffa..083c7ecc3c 100644 --- a/docs/CREDENTIALS.md +++ b/docs/CREDENTIALS.md @@ -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 ``` |