How to config security plugin in aws instance

I Want to use the opensearch-service in Managed Open-Source Elasticsearch and OpenSearch Search and Log Analytics – Amazon OpenSearch Service – Amazon Web Services for my search service. And I need to config jwt authentication for it according to YAML files - OpenSearch documentation. But I can’t find any config option for it. Then I try to use _cluster/settings api to update the security config but failure.

How can I config the security plugin for the opensearch service instance.