Skip to content

Commit

Permalink
Merge pull request #66 from mraspaud/add-authentication
Browse files Browse the repository at this point in the history
Fix typo in secure backend documentation
  • Loading branch information
mraspaud authored Jun 5, 2024
2 parents 181eded + 90ebc98 commit 7b2c565
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ On the server side (for example a publisher), we need to define the server's sec
accepted client keys are provided::

POSTTROLL_SERVER_SECRET_KEY_FILE=/path/to/server.key_secret
POSTTROLL_PUBLIC_SECRET_KEYS_DIRECTORY=/path/to/client_public_keys/
POSTTROLL_CLIENTS_PUBLIC_KEYS_DIRECTORY=/path/to/client_public_keys/

On the client side (for example a subscriber), we need to define the server's public key file and the client's secret
key file::
Expand All @@ -173,7 +173,7 @@ key file::
These settings can also be set using the posttroll config object, for example::

>>> from posttroll import config
>>> with config.set(backend="secure_zmq", server_pubic_key_file="..."):
>>> with config.set(backend="secure_zmq", server_public_key_file="..."):
...

The posttroll configuration uses donfig, for more information, check https://donfig.readthedocs.io/en/latest/.
Expand Down

0 comments on commit 7b2c565

Please sign in to comment.