Skip to content

MTLS support for the Python client #508

Closed
@ZPascal

Description

@ZPascal

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:

  1. Forward the custom Python SSL context to the urllib3 via the **kwags functionality (Personal favorited implementation, more adaptable)
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions