Skip to content

[Backport] Make role descriptors optional when creating API keys (#43481) #43614

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2019

Conversation

bizybot
Copy link
Contributor

@bizybot bizybot commented Jun 26, 2019

This commit changes the role_descriptors field from required
to optional when creating API key. The default behavior in .NET ES
client is to omit properties with null value requiring additional
workarounds. The behavior for the API does not change.
Field names (id, name) in the invalidate api keys API documentation have been
corrected where they were wrong.

Closes #42053

This commit changes the `role_descriptors` field from required
to optional when creating API key. The default behavior in .NET ES
client is to omit properties with `null` value requiring additional
workarounds. The behavior for the API does not change.
Field names (`id`, `name`) in the invalidate api keys API documentation have been
corrected where they were wrong.

Closes elastic#42053
@bizybot bizybot force-pushed the 43481-backport-7x branch from 93e1370 to a3cf5b0 Compare June 26, 2019 02:41
@bizybot bizybot merged commit 480453a into elastic:7.x Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant