Closed
Description
Proposal:
We should also support mutual TLS for the InfluxDB client. The implementation could be handled as a quick win and I can prepare the corresponding functionality inside a PR. The client uses urllib3
as a library to establish a connection to the InfluxDB and the MTLS support is already implemented inside it. Currently, there are two possible ways to implement the MTLS support inside the client:
- Forward the custom Python SSL context to the
urllib3
via the**kwags
functionality (Personal favorited implementation, more adaptable) - Use the same functionality as the normal TLS implementation and forward the certificates to the
urllib3
Current behavior:
Currently, it's possible to define e.g. a Python SSL context as **kwags
but this context is not forwarded to all calls at the end.
Desired behavior:
I would expect that MTLS is also supported by the library.
Use case:
The use case is the possibility to establish an MTLS connection to the InfluxDB.