From d283230060c52a4bce14c4f3a7f3f85d1139a5d1 Mon Sep 17 00:00:00 2001 From: Nicolas Chaulet Date: Wed, 23 Oct 2019 09:39:27 -0400 Subject: [PATCH] [Fleet] Temporary use the elastic user as kibana user to be able to create API keys --- packages/kbn-test/src/kbn/users.js | 2 +- src/cli/serve/serve.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/kbn-test/src/kbn/users.js b/packages/kbn-test/src/kbn/users.js index 1d4a903d60cfa..c5f62b4a3e823 100644 --- a/packages/kbn-test/src/kbn/users.js +++ b/packages/kbn-test/src/kbn/users.js @@ -25,7 +25,7 @@ export const kibanaTestUser = { }; export const kibanaServerTestUser = { - username: env.TEST_KIBANA_SERVER_USER || 'kibana', + username: env.TEST_KIBANA_SERVER_USER || 'elastic', password: env.TEST_KIBANA_SERVER_PASS || 'changeme', }; diff --git a/src/cli/serve/serve.js b/src/cli/serve/serve.js index 1f7593d788304..44fb6bff77587 100644 --- a/src/cli/serve/serve.js +++ b/src/cli/serve/serve.js @@ -80,7 +80,7 @@ function applyConfigOverrides(rawConfig, opts, extraCliOptions) { set('optimize.watch', true); if (!has('elasticsearch.username')) { - set('elasticsearch.username', 'kibana'); + set('elasticsearch.username', 'elastic'); } if (!has('elasticsearch.password')) {