Closed
Description
Elasticsearch version (bin/elasticsearch --version
):
7.16.2
Plugins installed: []
JVM version (java -version
):
openjdk 17
OS version (uname -a
if on a Unix-like system):
not relevant
Description of the problem including expected versus actual behavior:
The description in https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html mentions fields like indices
, global
and run_as
which are not defined in the Java client
They are also not defined in the service specification.
However, the are defined in the elasticsearch-rest-high-level-client.
I am using the wrong Java API to create an api key? Or should the spec and/or docs be updated?
Steps to reproduce:
Provide logs (if relevant):