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:
parent
632c3161a6
commit
84d6b27dc7
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue