From 5f7ab789ab04f0b5d5fc71acda98c8fa8a0cbfeb Mon Sep 17 00:00:00 2001 From: Dheeraj Kumar Ketireddy Date: Thu, 20 Mar 2025 19:41:37 +0530 Subject: [PATCH] Use elasticsearch api key for authentication (#2772) --- apiserver/plane/settings/common.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apiserver/plane/settings/common.py b/apiserver/plane/settings/common.py index 38bdf2e6cd..f9967b43e1 100644 --- a/apiserver/plane/settings/common.py +++ b/apiserver/plane/settings/common.py @@ -512,11 +512,7 @@ if ELASTICSEARCH_ENABLED: ELASTICSEARCH_DSL = { "default": { "hosts": os.environ.get("ELASTICSEARCH_URL"), - "http_auth": ( - os.environ.get("ELASTICSEARCH_USER"), - os.environ.get("ELASTICSEARCH_PASSWORD"), - ), - # "verify_certs": True, + "api_key": os.environ.get("ELASTICSEARCH_API_KEY") } } ELASTICSEARCH_DSL_SIGNAL_PROCESSOR = os.environ.get(