Not able to set Kibana password via scrips

I am new to elasticsearch. I am using following command

printf "XXX" | bin/elasticsearch-keystore add -x "bootstrap.password"

To create password. This sets the password of elastic user but the kibana user password is not updated

That is not the correct way to set the elastic password.

You need to use the setup-passwords script, or use the Change Password API.

Setting bootstrap.password is a temporary measure to enable you to get the cluster up and running so that you can assign permanent passwords to all users. You should not attempt to use it as a permanent authentication mechanism for a production (or even test) cluster.

Thanks, will ensure the passwords are set through the API.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.