Why is the non-existent `xpack.security.enabled` mentioned in Kibana's configuration documentation?

Start the Kibana container with the following command:

docker run -p 127.0.0.1:5601:5601 -d --name kibana --network elastic-net \
  -e ELASTICSEARCH_URL=http://elasticsearch:9200 \
  -e ELASTICSEARCH_HOSTS=http://elasticsearch:9200 \
  -e ELASTICSEARCH_USERNAME=kibana_system \
  -e ELASTICSEARCH_PASSWORD=$KIBANA_PASSWORD \
  -e "xpack.security.enabled=false" \
  -e "xpack.license.self_generated.type=trial" \
  docker.elastic.co/kibana/kibana:8.15.0

@jbudz /@tiagocosta could you please grab this question?

Thanks,
Bhavya

I opened a pull request to update our documentation at [docs] Remove xpack.security.enabled Kibana reference by jbudz · Pull Request #113894 · elastic/elasticsearch · GitHub.

So what does setting xpack.security.enabled to false do in the Kibana container?

The container will fail to start - thanks for noting this. It doesn't need to be configured.

1 Like