-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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 "manage_api_key" cluster privilege #43728
Conversation
This adds a new cluster privilege for manage_api_key. Users with this privilege are able to create new API keys (as a child of their own user identity) and may also get and invalidate any/all API keys (including those owned by other users).
Pinging @elastic/es-security |
I still need to add this cluster privilege to the docs, but I wanted to get a PR up for review today. The docs might need to wait until next week. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thank you.
Add the "Authorization" section to the API key API docs. These APIs require The new manage_api_key cluster privilege. Relates: elastic#43728
Add the "Authorization" section to the API key API docs. These APIs require The new manage_api_key cluster privilege. Relates: #43728
This adds a new cluster privilege for manage_api_key. Users with this privilege are able to create new API keys (as a child of their own user identity) and may also get and invalidate any/all API keys (including those owned by other users). Backport of: elastic#43728
This adds a new cluster privilege for manage_api_key. Users with this privilege are able to create new API keys (as a child of their own user identity) and may also get and invalidate any/all API keys (including those owned by other users). Backport of: #43728
Add the "Authorization" section to the API key API docs. These APIs require The new manage_api_key cluster privilege. Relates: elastic#43728 Backport of: elastic#43811
Relates: elastic/elasticsearch#43728 Co-Authored-By: Lisa Cawley <lcawley@elastic.co>
Relates: elastic/elasticsearch#43728 Co-Authored-By: Lisa Cawley <lcawley@elastic.co> Backport of: #395
This adds a new cluster privilege for
manage_api_key
. Users with thisprivilege are able to create new API keys (as a child of their own
user identity) and may also get and invalidate any/all API keys
(including those owned by other users).
This also fixes a bug where the security index was accessed using the
authenticated user's context, which meant that only
superuser
wasable to call these APIs. The API Key actions may now be called by any
user with
manage_security
ormanage_api_key
.Relates: #42020