зеркало из https://github.com/getsops/sops.git
Document how to operate on stdin
This commit is contained in:
Родитель
5663d276a5
Коммит
c670107d56
|
@ -1007,6 +1007,12 @@ sops with the ``--input-type`` flag upon decryption. For example:
|
|||
|
||||
$ sops -d --input-type json myfile.json.enc
|
||||
|
||||
When operating on stdin, use the ``--input-type`` and ``--output-type`` flags as follows:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
$ cat myfile.json | sops --input-type json --output-type json -d /dev/stdin
|
||||
|
||||
YAML anchors
|
||||
~~~~~~~~~~~~
|
||||
``sops`` only supports a subset of ``YAML``'s many types. Encrypting YAML files that
|
||||
|
|
Загрузка…
Ссылка в новой задаче