@@ -166,6 +166,8 @@ class Configuration:
166166 :param retries: Number of retries for API requests.
167167 :param ca_cert_data: verify the peer using concatenated CA certificate data
168168 in PEM (str) or DER (bytes) format.
169+ :param cert_file: the path to a client certificate file, for mTLS.
170+ :param key_file: the path to a client key file, for mTLS.
169171
170172 :Example:
171173
@@ -207,6 +209,8 @@ def __init__(
207209 ssl_ca_cert : Optional [str ]= None ,
208210 retries : Optional [int ] = None ,
209211 ca_cert_data : Optional [Union [str , bytes ]] = None ,
212+ cert_file : Optional [str ]= None ,
213+ key_file : Optional [str ]= None ,
210214 * ,
211215 debug : Optional [bool ] = None ,
212216 ) -> None :
@@ -288,10 +292,10 @@ def __init__(
288292 """Set this to verify the peer using PEM (str) or DER (bytes)
289293 certificate data.
290294 """
291- self .cert_file = None
295+ self .cert_file = cert_file
292296 """client certificate file
293297 """
294- self .key_file = None
298+ self .key_file = key_file
295299 """client key file
296300 """
297301 self .assert_hostname = None
@@ -551,7 +555,7 @@ def to_debug_report(self) -> str:
551555 "OS: {env}\n " \
552556 "Python Version: {pyversion}\n " \
553557 "Version of the API: v1\n " \
554- "SDK Package Version: 0.1.26 " .\
558+ "SDK Package Version: 0.1.27 " .\
555559 format (env = sys .platform , pyversion = sys .version )
556560
557561 def get_host_settings (self ) -> List [HostSetting ]:
0 commit comments