How to connect with ElasticSearch endpoint with API Key and Secret

I'm working with Neo4j Community Edition 5.11, and I'm trying to establish a connection to an Elasticsearch endpoint that is secured with an API Key and Secret. The goal is to use Neo4j in combination with Elasticsearch to enhance our data analysis capabilities. I've been using the APOC library to interact with external systems.