uptasticsearch icon indicating copy to clipboard operation
uptasticsearch copied to clipboard

Support for Auth

Open jameslamb opened this issue 6 years ago • 4 comments

Today, uptasticsearch only works when you have the ability to directly query the cluster. If your cluster has some authentication / authorization set up on it (e.g. Shield), this library will not work.

I think we need to add support for auth-enabled 5.x and 6.x clusters. As of 5.x, you can use X-pack to enable security features for Elasticsearch.

I do NOT think we should put any time or effort into supporting Shield on earlier versions of ES, but open to discussion if some users say they have a need for it.

jameslamb avatar Aug 11 '18 16:08 jameslamb

@austin3dickey @ngparas I actually tried this today, but AFAICT you can't use x-pack security in the free images.

Other links I found in case someone figures out how to do this:

jameslamb avatar Nov 24 '18 19:11 jameslamb

So the implications are that we wouldn't be able to test in Travis? And local development could be tricky

austin3dickey avatar Nov 26 '18 13:11 austin3dickey

Technically we wouldn't be able to test on Travis for free. We could used hosted ES from AWS and keep an instance up and running, which would probably be like 4 bucks a month. I don't love the idea of taking on that complexity though.

jameslamb avatar Nov 26 '18 15:11 jameslamb

Especially when no one has asked for this

jameslamb avatar Nov 26 '18 15:11 jameslamb