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

Suggest command to encrypt binary that respect .sopy.aml

Based on https://github.com/getsops/sops/issues/594#issuecomment-569132718 and tested locally successful
This commit is contained in:
Sandro 2023-11-02 02:09:38 +01:00 committed by Jörg Thalheim
parent 632c3161a6
commit 84d6b27dc7

View file

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