Skip to content

Commit 4d5f9e4

Browse files
Merge pull request #194 from Bastian-Krause/bst/doc-ref-client-auth
docs: reference: document ssl_key, ssl_cert, ssl_engine
2 parents 350ba55 + 8d93e29 commit 4d5f9e4

1 file changed

Lines changed: 32 additions & 2 deletions

File tree

docs/reference.rst

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ Mandatory options:
4949
This is set for each device individually.
5050
For details, refer to https://eclipse.dev/hawkbit/concepts/authentication/.
5151

52-
.. note:: Either ``auth_token`` or ``gateway_token`` must be provided
52+
.. note::
53+
Either ``auth_token``, ``gateway_token`` or ``ssl_key``/``ssl_cert`` must
54+
be provided.
5355

5456
``gateway_token=<token>``
5557
Gateway authentication token.
@@ -58,7 +60,29 @@ Mandatory options:
5860
manages/authenticates multiple targets, thus use with care.
5961
For details, refer to https://eclipse.dev/hawkbit/concepts/authentication/.
6062

61-
.. note:: Either ``auth_token`` or ``gateway_token`` must be provided
63+
.. note::
64+
Either ``auth_token``, ``gateway_token`` or ``ssl_key``/``ssl_cert`` must
65+
be provided.
66+
67+
``ssl_key=<path/URI>``
68+
Set SSL private key for TLS/SSL client certificate authentication.
69+
Only used if ``ssl_cert`` is also set.
70+
See https://curl.se/libcurl/c/CURLOPT_SSLKEY.html.
71+
See also ``ssl_engine``, ``send_download_authentication``.
72+
73+
.. note::
74+
Either ``auth_token``, ``gateway_token`` or ``ssl_key``/``ssl_cert`` must
75+
be provided.
76+
77+
``ssl_cert=<path/URI>``
78+
Set SSL client certificate for TLS/SSL client certificate authentication.
79+
Only used if ``ssl_key`` is also set.
80+
See https://curl.se/libcurl/c/CURLOPT_SSLCERT.html.
81+
See also ``ssl_engine``, ``send_download_authentication``.
82+
83+
.. note::
84+
Either ``auth_token``, ``gateway_token`` or ``ssl_key``/``ssl_cert`` must
85+
be provided.
6286

6387
``bundle_download_location=<path>``
6488
Full path to where the bundle should be downloaded to.
@@ -80,6 +104,12 @@ Optional options:
80104
Whether to enforce SSL verification or not.
81105
Defaults to ``true``.
82106

107+
``ssl_engine=<engine/provider name>``
108+
Set OpenSSL engine/provider for TLS/SSL client certificate authentication.
109+
Only used if both ``ssl_key`` and ``ssl_cert`` are set.
110+
See https://curl.se/libcurl/c/CURLOPT_SSLENGINE.html.
111+
See also ``send_download_authentication``.
112+
83113
``connect_timeout=<seconds>``
84114
HTTP connection setup timeout [seconds].
85115
Defaults to ``20`` seconds.

0 commit comments

Comments
 (0)