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?
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?