From 2fd2e39bd7d5e335eee49a67e40c7fa95bf4bc9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=A9cio=20Santos?= Date: Wed, 2 Feb 2022 10:20:11 -0500 Subject: [PATCH] Add documentation for Elasticsearch HTTP authentication --- docs/data-formats.rst | 12 +++++++++++- docs/requirements.txt | 4 +++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/data-formats.rst b/docs/data-formats.rst index cb938b63e..72039564a 100644 --- a/docs/data-formats.rst +++ b/docs/data-formats.rst @@ -157,7 +157,17 @@ for more information on these parameters. target_storage.data_format.elasticsearch.rest.socket_timeout: 30000 target_storage.data_format.elasticsearch.rest.max_retry_timeout_millis: 90000 -**Transport Client (deprecated)** +**HTTP Basic Authentication** + +You can configure the username and password by adding the following to ``ache.yml`` file: + +.. code:: yaml + + target_storage.data_format.elasticsearch.rest.username: myusername + target_storage.data_format.elasticsearch.rest.password: mypasswd + + +**Transport Client (removed since version >=0.11)** You can also configure ACHE to connect to Elasticsearch v1.x using the native transport client by adding the following lines:: diff --git a/docs/requirements.txt b/docs/requirements.txt index 59314f40b..096b9175b 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,2 +1,4 @@ +sphinx sphinxcontrib-httpdomain -sphinx-material \ No newline at end of file +sphinx-material +