Skip to content

Commit

Permalink
Document how to operate on stdin
Browse files Browse the repository at this point in the history
  • Loading branch information
PyvesB committed Oct 4, 2019
1 parent 14a22d7 commit 2b22fe0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,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
Expand Down

0 comments on commit 2b22fe0

Please sign in to comment.