Elastic shield documentation mentions that it can cache users for authentication However there's no clear explanation or an example on how to achieve this.
I have a native realm user and a file realm user (for file realm user I configured following)
When I make a rest call using rest client or curl
I would need to pass username/password with each request
curl -u filerealmusername:password -XGET'http://localhost:9600/_shield/user/username?pretty'
1 . How do I avoid passing username:password in subsequent requests ?
- I'm trying to achieve this in elasticsearch python client , essentially I need to avoid passing username password in each request explicitly. For Instance following
es = Elasticsearch(