Skip to content
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

Add support to retrieve all API keys if user has privilege #47274

Merged
merged 3 commits into from
Oct 7, 2019

Conversation

bizybot
Copy link
Contributor

@bizybot bizybot commented Sep 30, 2019

This commit adds support to retrieve all API keys if the authenticated
user is authorized to do so.
This removes the restriction of specifying one of the
parameters (like id, name, username and/or realm name)
when owner is set to false.

Closes #46887

This commit adds support to retrieve all API keys if the
authenticated user is authorized to do so.
This removes the restriction of specifying one of the
parameters (like id, name, username and/or realm name)
when `owner` is set to `false`.

Closes elastic#46887
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-security

@bizybot
Copy link
Contributor Author

bizybot commented Sep 30, 2019

@elasticmachine run elasticsearch-ci/2

Copy link
Contributor

@albertzaharovits albertzaharovits left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bizybot bizybot merged commit 01f9177 into elastic:master Oct 7, 2019
bizybot added a commit to bizybot/elasticsearch that referenced this pull request Oct 7, 2019
…7274)

This commit adds support to retrieve all API keys if the authenticated
user is authorized to do so.
This removes the restriction of specifying one of the
parameters (like id, name, username and/or realm name)
when the `owner` is set to `false`.

Closes elastic#46887
bizybot added a commit that referenced this pull request Oct 7, 2019
…47641)

This commit adds support to retrieve all API keys if the authenticated
user is authorized to do so.
This removes the restriction of specifying one of the
parameters (like id, name, username and/or realm name)
when the `owner` is set to `false`.

Closes #46887
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.

Support retrieval of all API keys
5 participants