Skip to content

CreateApiKeyRequest.RoleDescriptor is missing some fields #1555

Closed
@swallez

Description

@swallez

Found in elastic/elasticsearch-java#106

security/create_api_key/types.ts/RoleDescriptor is missing some fields and should actually be replaced with security/get_service_accounts/types.ts/RoleDescritor (the docs -- and the code -- says they are the same structure).

Which probably means that RoleDescriptor should be moved to security/_types.

Also, the indices field needs an @aliases index (ES accepts both).

This is a breaking change as we move types around. It has to be backported to 7.17 (long term 7.x support), but probably not to 8.1.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions