Hi did u manage to figure this out?
I spent (wasted) 2 days and still couldn’t get either the Java RestHighLevelClient or the Java TCP Transport client working with the Security enabled (using demo ssl certs).
For now I was just able to get round the issue by using the elasticdump tool (security is still enabled): elasticdump --input=“my data” --output=https://admin:admin@“my ip”:9200/“my index” --insecure --type=data
Hi @mkiran18, no, there’s no high-level client for ODFE functions, but you can use the low-level Java REST client to send requests to arbitrary URIs (such as GET or PUT to _opendistro/_security/api/roles).