Skip to content

New Java client does not have all fields for CreateApiKeyRequest.RoleDescriptor #106

Closed
@synox

Description

@synox

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):

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: SpecificationRelated to the API spec used to generate client code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions