Closed
Description
Describe the bug
When the environment variable "ES_USE_SSL" is set to false, there is no possibility of authorization, which results in receiving a 401 error every time. This is caused by the fact that in the _es_config() function, if ES_USE_SSL is set to false, a return is executed before adding authorization. I believe we should provide such a possibility. In my case, OpenSearch is behind a VPN, so disabling SSL should slightly improve performance without compromising security.
To Reproduce
Steps to reproduce the behavior:
- Setting ES_USE_SSL=false
- OpenSearch with authorization, e.g., using username and password
- We get a 401 error - no authorization
Expected behavior
Ability to add authentication with SSL disabled.
Metadata
Metadata
Assignees
Labels
No labels