Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Support HTTP basic authentication for elasticsearch #150

Open
sighalt opened this issue Dec 17, 2017 · 0 comments
Open

Support HTTP basic authentication for elasticsearch #150

sighalt opened this issue Dec 17, 2017 · 0 comments

Comments

@sighalt
Copy link

sighalt commented Dec 17, 2017

I just wanted to play around with nefertari and ramses so I started an instance of mongodb and elasticsearch via docker on my dev machine. For the elasticsearch service I followed the instructions at https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html

After the setup elasticsearch is secured by HTTP basic authentication, for which I couldn't find any way to work with nefertari.

I already tried the following workaraound in my local.ini:

elasticsearch.hosts = http://elastic:MagicWord@localhost:9200

But according to the following code (elasticsearch.py:182), a colon is kind of a reserved character for separating multiple hosts.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant