1
0
mirror of https://github.com/getsops/sops.git synced 2026-02-05 12:45:21 +01:00

Merge pull request #121 from imsky/readme-extract-flag

fix README to use the correct extract subpath flag
This commit is contained in:
Julien Vehent [:ulfr]
2016-09-18 19:35:50 -04:00
committed by GitHub

View File

@@ -576,7 +576,7 @@ values, like keys, without needing an extra parser.
.. code:: bash
$ sops -d ~/git/svc/sops/example.yaml -t '["app2"]["key"]'
$ sops -d ~/git/svc/sops/example.yaml --extract '["app2"]["key"]'
-----BEGIN RSA PRIVATE KEY-----
MIIBPAIBAAJBAPTMNIyHuZtpLYc7VsHQtwOkWYobkUblmHWRmbXzlAX6K8tMf3Wf
ImcbNkqAKnELzFAPSBeEMhrBN0PyOC9lYlMCAwEAAQJBALXD4sjuBn1E7Y9aGiMz
@@ -593,7 +593,7 @@ them.
.. code:: bash
$ sops -d ~/git/svc/sops/example.yaml -t '["an_array"][1]'
$ sops -d ~/git/svc/sops/example.yaml --extract '["an_array"][1]'
secretuser2
Set a sub-part in a document tree