I am use the docker version and trying to disable the private tenant from the dashboard.
I followed this instruction:
Kibana Multi-Tenancy - Open Distro Documentation
But it doesn’t works.
Anyone knows how to disable the private tenant?
Hi @beilei - does using the configuration option
multitenancy_enabled" help you at all?
You could probably set this to false to disable multi tenancy if that was your goal. Was it just the private tenant you were hoping to disable or just tenancy in general?
Hi @beilei - I found this documentation page that shows the proper configuration variables that are now used. Check this out here:
opensearch_security.multitenancy.tenants.preferred: ["Private", "Global"]
does it works on your side?
It is still not working on my side.
That is my config file:
That is my config for opensearch-dashborad.yml:
opensearch.requestHeadersWhitelist: [authorization, securitytenant]
I have tried the server_username: opensearch and dashboardserver. it is still not working.
This worked perfectly to disable the private tenant.
Can I ask what do you put for the server_username? the only username i can find in the opensearch_dashboards.yml is Kibanaserver. is that right?
kibanaserver is a default service account that connects OpenSearch Dashboards with the OpenSearch cluster.
However, you can create another service account with a different name and use it to connect OSD with OS. In that case, you’ll also need to configure a new account in config.yml.
You don’t have to use the above config if you choose to use the default