Preface: I deployed the OpenSearch using Amazon OpenSearch Service.
I faced the issue of auto-redirecting from Global to Private tenant in OpenSearch Dashboards after some time (up to 10 minutes).
I saw in other answers (they were related to Kibana and ElasticSearch) how to proceed to directories with a configuration file (opensearch.yml, opensearch-dashboards.yml), but how to do it with OpenSearch on AWS? Can I connect via CLI to cluster directly, go through files, and create/edit a config file or maybe API which will update my config?