Suggestion to create service account tokens using CLI is wrong #124691
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Upgrade Assistant
impact:needs-assessment
Product and/or Engineering needs to evaluate the impact of the change.
loe:small
Small Level of Effort
Team:Security
Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!
Related: #115241, #122704
In 7.17, the Upgrade Assistant shows a deprecation warning for Kibana instances that have
elasticsearch.username: elastic
orelasticsearch.username: kibana
configured.Authenticating Kibana to Elasticsearch with either of these users is deprecated and should be avoided.
Note that using
elasticsearch.username: kibana_system
is still supported / not deprecated, but we want to start nudging users towards using service account tokens instead.To that end, these deprecation warnings suggest using
elasticsearch.serviceAccountToken
instead:kibana/src/core/server/elasticsearch/elasticsearch_config.ts
Lines 148 to 180 in 9ffffbc
We should change the warning to suggest using creating a service account token with the API instead.
The text was updated successfully, but these errors were encountered: