doc (encryption, cli): document Pubsub Targeted Encryption:

a small section has been added to `encryption` to explain the difference with OXPS, and
the `--encrypt-for` arguments are explained.

fix 382
This commit is contained in:
Goffi 2022-10-31 13:50:12 +01:00
commit dd434fbf1f

View file

@ -48,6 +48,11 @@ rst_prolog = """
share secrets with :ref:`libervia-cli_pubsub_secret`. Please read
:ref:`pubsub-encryption` for more details.
.. |pte_arg| replace::
You can encrypt a single item to targeted entities with the ``--encrypt-for`` flag (not
to be confused with ``--encrypt`` which is used when a whole node is encrypted). Please
read :ref:`pubsub-encryption` for more details.
.. |sign_arg| replace::
To cryptographically sign an item, you can use the ``-X, --sign`` flag (a mnemonic way
to remember the short option is to think of a cross made as a signature on a document).