I checked the documentation of elasticsearch:7.x but still didn't find the way how I can force the python ES
package to use my kerberos token.
I can reach the ES
through a browser, curl
( curl --negotiate -u
) and requests
with requests_kerberos
( with mutual OPTIONAL
config ) but with the python elasticsearch package calling a simple es.cat.health()
I get 401
AuthenticationException
...
My questions are:
- where was I wrong, what did I miss?
- is it even possible to force the ES python lib to use kerberos or does it work under the hood?
Thanks in advance.