tedder / requests-aws4auth

Amazon Web Services version 4 authentication for the Python Requests module
MIT License
178 stars 62 forks source link

Is there a urllib3 version of this library? #28

Closed LaundroMat closed 7 years ago

LaundroMat commented 7 years ago

I want to use AWS ElasticSearch together with django-haystack but I'm bumping into problems trying to authenticate.

Haystack uses urllib3 for its web requests, and I can't find a way of integrating aws4auth easily (see also http://stackoverflow.com/questions/41147724/newconnectionerror-using-django-haystack-with-amazon-elasticsearch-as-backend ).

Is authenticating with aws4auth (or something similar) doable within this context?

Thanks!

LaundroMat commented 7 years ago

Closing it - I seem to have gotten things working by leaving out the port in the kwargs.