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:
parent
5876a12ff6
commit
3176c11112
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue