@@ -1515,7 +1515,7 @@ $ sops decrypt -i /path/to/existing/file.yaml
15151515
15161516# # Encrypting binary files
15171517
1518- SOPS primary use case is encrypting YAML and JSON configuration files,
1518+ SOPS primary use case is encrypting YAML, JSON, ENV, and INI configuration files,
15191519but it also has the ability to manage binary files. When encrypting a
15201520binary, SOPS will read the data as bytes, encrypt it, store the
15211521encrypted base64 under ` tree[' data' ]` and write the result as JSON.
@@ -1648,9 +1648,9 @@ the hood!
16481648
16491649# # Encrypting only parts of a file
16501650
1651- Note: this only works on YAML and JSON files, not on BINARY files.
1651+ Note: this only works on YAML, JSON, ENV, and INI files, not on BINARY files.
16521652
1653- By default, SOPS encrypts all the values of a YAML or JSON file and
1653+ By default, SOPS encrypts all the values of a YAML, JSON, ENV, or INI file and
16541654leaves the keys in cleartext. In some instances, you may want to exclude
16551655some values from being encrypted. This can be accomplished by adding the
16561656suffix ** \_ unencrypted** to any key of a file. When set, all values
@@ -1866,9 +1866,9 @@ problem with a number of prerequisites:
186618664. Secrets must always be encrypted on disk (admin laptop, upstream git
18671867 repo, jenkins and S3) and only be decrypted on the target systems
18681868
1869- SOPS can be used to encrypt YAML, JSON and BINARY files. In BINARY mode,
1869+ SOPS can be used to encrypt YAML, JSON, ENV, INI, and BINARY files. In BINARY mode,
18701870the content of the file is treated as a blob, the same way PGP would
1871- encrypt an entire file. In YAML and JSON modes, however, the content of
1871+ encrypt an entire file. In YAML, JSON, ENV, and INI modes, however, the content of
18721872the file is manipulated as a tree where keys are stored in cleartext,
18731873and values are encrypted. hiera-eyaml does something similar, and over
18741874the years we learned to appreciate its benefits, namely:
0 commit comments