[Onboarding] Check for user privileges before creating an API key #192983
Labels
bug
Fixes for quality problems that affect the customer experience
Feature: Observability Onboarding
Team:obs-ux-logs
Observability Logs User Experience Team
📓 Summary
The API keys needed to configure the Elastic Agent and the OTel collector to ingest data into Elasticsearch are created automatically when users follow one of the quick-start onboarding flows. However, since they need at least the
manage_own_api_key
cluster privilege to create API keys, there can be cases when they don't have the privileges required which might result in an error that is propagated in the UI. Some onboarding flows handle this gracefully by displaying an appropriate message to users.All onboarding flows should follow the same principle, first checking whether the necessary permissions are in place before creating API keys.
OpenTelemetry
Auto-detection flow
✔ Acceptance criteria
The text was updated successfully, but these errors were encountered: