Zend certified PHP/Magento developer

Curl using Logstash Keystore values

I would like to curl to our Elastic cluster using the logstash keystore.

Right now we can curl with username/password. Our keystore is setup and functional but I do not know what the syntax would be in order to correctly curl using logstash keystore credentials.

Right now I can do

curl -s -XGET -u elasticUser:elasticPassword https://ElasticURL/_cluster/health 

How can I do the same curl with using Logstash Keystore that has both of those values in it. Actually it has the URL value in it too

OR

Is this even possible?