Skip to content

Commit

Permalink
Change deprecation warning for elasticsearch.username (#124717)
Browse files Browse the repository at this point in the history
  • Loading branch information
jportner authored Feb 7, 2022
1 parent 15b5cad commit 0399402
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/core/server/elasticsearch/elasticsearch_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,11 @@ const deprecations: ConfigDeprecationProvider = () => [
manualSteps: [
i18n.translate('core.deprecations.elasticsearchUsername.manualSteps1', {
defaultMessage:
'Use the elasticsearch-service-tokens CLI tool to create a new service account token for the "elastic/kibana" service account.',
'Use Kibana Dev Tools to create a service account token using the API: "POST /_security/service/elastic/kibana/credential/token"',
}),
i18n.translate('core.deprecations.elasticsearchUsername.manualSteps2', {
defaultMessage: 'Add the "elasticsearch.serviceAccountToken" setting to kibana.yml.',
defaultMessage:
'Copy the returned token.value and add it as the "elasticsearch.serviceAccountToken" setting to kibana.yml.',
}),
i18n.translate('core.deprecations.elasticsearchUsername.manualSteps3', {
defaultMessage:
Expand Down

0 comments on commit 0399402

Please sign in to comment.