jplana/python-etcd

How to pass private SSL key

Closed this issue · 1 comments

To access etcd in my setup, cert, ca_cert, and private key is needed.
Example curl command:
curl https://10.255.255.5:2379/v2/keys --cacert /etc/kubernetes/certs/ca.crt --cert /etc/kubernetes/certs/client.crt --key /etc/kubernetes/certs/client.key

I see Client constructor has parameters for cert and ca_cert, but how to pass the private key?

I see now that you pass key as a second element of the tuple for the cert parameter.
A bit confusing, but should work for me.