Owen-CH-Leung commented on issue #44724:
URL: https://github.com/apache/airflow/issues/44724#issuecomment-2551328540

   You can define the credentials in `elasticsearch_configs` session in your 
airflow cfg.
   
   
https://airflow.apache.org/docs/apache-airflow-providers-elasticsearch/stable/configurations-ref.html#elasticsearch-configs
   
   In the `elasticsearch_configs` session, you can pass in any parameters that 
elasticsearch client accepts. Example: 
   
   ```
   [elasticsearch_configs] 
   http_compress = True 
   ca_certs = /root/ca.pem 
   api_key = "SOMEAPIKEY" 
   verify_certs = True
   ```
   
   All the params you define will be passed into the elasticsearch python 
library like `elasticsearch.Elasticsearch(**kwargs)`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to