Document TLS/SSL options for import script (#667)

This commit is contained in:
Quentin Pradet 2024-05-02 18:06:40 +04:00 committed by GitHub
parent 9cea2385e6
commit f7f6e0aba9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,6 +60,12 @@ $ eland_import_hub_model <authentication> \ <1>
<4> Specify the type of NLP task. Supported values are `fill_mask`, `ner`,
`question_answering`, `text_classification`, `text_embedding`, and `zero_shot_classification`.
For more information about the available options, run `eland_import_hub_model` with the `--help` option.
[source,bash]
------------------------
$ eland_import_hub_model --help
------------------------
[discrete]
[[ml-nlp-pytorch-docker]]
@ -191,3 +197,28 @@ eland_import_hub_model --es-api-key <api-key> --url https://<hostname>:<port> ..
eland_import_hub_model --hub-access-token <access-token> ...
--------------------------------------------------
--
[discrete]
[[ml-nlp-pytorch-tls]]
==== TLS/SSL
The following TLS/SSL options for Elasticsearch are available when using the import script:
* Specify alternate CA bundle to verify the cluster certificate:
+
--
[source,bash]
--------------------------------------------------
eland_import_hub_model --ca-certs CA_CERTS ...
--------------------------------------------------
--
* Disable TLS/SSL verification altogether (strongly discouraged):
+
--
[source,bash]
--------------------------------------------------
eland_import_hub_model --insecure ...
--------------------------------------------------
--