Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Conversation

LloydW93
Copy link
Contributor

With the Python requests module, it is possible to configure a client certificate to use for mutual TLS authentication, for example if an nginx instance in front of influxdb is performing the TLS termination and has a whitelist of allowed CNs.

This PR adds a new optional argument to the client constructor which passes through the path to such a client certificate to the requests session.

Lloyd Wallis and others added 16 commits January 11, 2019 11:22
* Unpin setuptools to fix travis

Signed-off-by: Matthew McGinn <mamcgi@gmail.com>

* Add some ignores for new flake8 tests

Signed-off-by: Matthew McGinn <mamcgi@gmail.com>
cryptography-2.5 is not compatible with PyPy < 5.4
Signed-off-by: Matthew McGinn <mamcgi@gmail.com>
* fix already tz-aware error

* fix tests tz_localize

* update CHANGELOG.md
Signed-off-by: Matthew McGinn <mamcgi@gmail.com>
* add py37 and recent influxdb

* remove useless py34 dep

* use py36 for pydocstyle (py27 soon deprecated)

* ugly fix to numpy inconsistencies

* py37 is not in ubuntu 14.04

* move import numpy and add noqa

* get 3.7 into travis matrix

* get 3.7 into travis matrix
* numpy might use non-numerical version

* update

* update CHANGELOG.md
Signed-off-by: Matthew McGinn <mamcgi@gmail.com>
* add bind_params to query
* tutorial for bind_params
* Add CQs management methods to the client
* Fix a warning under Python 3.7

Signed-off-by: Matthew McGinn <mamcgi@gmail.com>
Due to lack of documentation for UDP, this example
provides basic usage of sending information points
via UDP. The code structure followed is similar, if
not same as other examples in the `examples` directory.

Signed-off-by: Shantanoo <shantanoo.desai@gmail.com>
@LloydW93 LloydW93 closed this Apr 15, 2019
@LloydW93 LloydW93 deleted the mutual-tls branch April 15, 2019 15:39
@LloydW93 LloydW93 restored the mutual-tls branch April 15, 2019 15:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants