Skip to content

Commit fc0d883

Browse files
authored
Merge pull request #1997 from RussellAult/keyservice-envvar-README
Add new keyservice env variables to README
2 parents 07ded6f + 2bd554b commit fc0d883

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,10 +1013,12 @@ try all other remote key services until one succeeds.
10131013
10141014
You can start a key service server by running ``sops keyservice``.
10151015
1016-
You can specify the key services the ``sops`` binary uses with ``--keyservice``.
1017-
This flag can be specified more than once, so you can use multiple key
1018-
services. The local key service can be disabled with
1019-
``enable-local-keyservice=false``.
1016+
You can specify the key services the ``sops`` binary uses with the
1017+
``--keyservice`` option. This flag can be specified more than once, so you can
1018+
use multiple key services. Alternatively, a single key service can be specified
1019+
by setting the ``SOPS_KEYSERVICE`` environment variable. The local key service
1020+
can be disabled with ``--enable-local-keyservice=false`` or by setting the
1021+
``SOPS_ENABLE_LOCAL_KEYSERVICE`` environment variable to ``false``.
10201022
10211023
For example, to decrypt a file using both the local key service and the key
10221024
service exposed on the unix socket located in ``/tmp/sops.sock``, you can run:

0 commit comments

Comments
 (0)