Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
2.18.0
Describe the issue:
my default tenant is set to apploggingtenant.
I tested to use curl to change a setting in opensearch dashboard as below:
curl --silent -X POST ${OPENSEARCH_DASHBOARD_URL}/api/opensearch-dashboards/settings/theme:darkMode
-w “\n” -k -H “Content-Type: application/json;” -H “osd-xsrf: true”
-H “securitytenant: apploggingtenant”
-u admin:${AdminRuntimePassword}
-d ‘{“value”:true}’
no error, but the setting always goes to the Global tenant.
I checked, the securitytenant is already added into opensearch.requestHeadersAllowlist
also, I tried to config admin (all_access) user in opensearch dashboard, it doesn’t work.
Configuration:
Relevant Logs or Screenshots: