Describe the issue:
I have installed and configured searchguard for elasticsearch and kibana. The problem is that “Accountinfo” and “Multitenancy” are disabled at kibana.
I´ve configured multitenancy options at sg_config.yml and kibana.yml, but “Multitenancy” is still disabled.
¿How can I enable Multitenancy and Accountinfo at kibana?
I´ve configured searchguard.multitenancy.enabled and searchguard.accountinfo.enabled at kibana.yml and now are enable.
It seems Kibana not load correctly environment variables.
For example, multitenancy show me this error at kibana if I configure ELASTICSEARCH_USERNAME=kibanaserver environment variable:
Mismatch… Configured username on Kibana: ‘kibana_system’, configured username on Elasticsearch: ‘kibanaserver’
If I configure elasticsearch.username: kibanaserver at kibana.yml, everything works fine.
Environment variables are not inside kibana.yml file in this case. The solution for us is configured kibana.yml file and copied it inside the container with the Dockerfile.