1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2024-12-14 11:57:52 +00:00

Minor fix for binary example in README.md

`sops -e krb5.keytab` does not encrypt the file, rather it outputs the encrypted data in the console.
`>` should be used here to send the data to the file.
This commit is contained in:
Aadniz 2024-09-21 22:02:39 +02:00 committed by Jörg Thalheim
parent 5876a12ff6
commit 3176c11112

View file

@ -674,8 +674,7 @@ JSON/YAML files. Unlike the other two formats, for binary files, one file corres
To encrypt an binary file use the following command:
``` console
$ cp /etc/krb5/krb5.keytab krb5.keytab
$ sops -e krb5.keytab
$ sops -e /etc/krb5/krb5.keytab > krb5.keytab
# an example of what this might result in:
$ head krb5.keytab
{