[ResponseOps] add docs for new API key functionality #154580
Labels
docs
Feature:Alerting/RulesFramework
Issues related to the Alerting Rules Framework
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
PR Allow users authenticated with an API keys to manage alerting rules #154189 adds a new twist to our API key usage.
Today. for cases where APIs are used that create API keys (for instance, creating or updating a rule), if the request to make the change was authenticated with an API key, we would fail the request. Long story, but basically ES will not allow API keys to be created if you authenticate with an API key.
The change is that, now, if you use an API key in a case that would fail earlier, we now actually use the API key passed into the request, as the new API key for the rule. Whereas WE always create the API keys before, now we will have MIX of API keys that WE created and the USER created.
This ends up affecting things like the way we invalidate API keys when rules are deleted. We DO NOT delete API keys if they are a USER created key, only the keys that WE created.
I think the relevant doc we need to change is here: https://www.elastic.co/guide/en/kibana/current/alerting-setup.html#alerting-authorization , but there may be more.
The text was updated successfully, but these errors were encountered: