druid-io / pydruid

A Python connector for Druid
Other
506 stars 194 forks source link

Add support for SSL Client Authentication #267

Open xaptronic opened 2 years ago

xaptronic commented 2 years ago

I'm using PyDruid in an environment where the Druid Cluster uses client authentication certificates. I added a way to set client certificates so I can connect with PyDruid.

This new function set_cert_chain works very similar to set_proxies. I did not see tests for the latter so am unsure if it would be of value to go about implementing for the former.