2

I'm looking to do some Route53 interaction within a Twisted-based program. I'm extending txAWS to support Route53 and looking at how to authenticate the requests. txAWS some some rudimentary signature code but it looks like it will take a lot of work to make it usable for a new set of APIs.

boto3 includes an implementation of the various authentication systems - but ties it closely to the http library it uses internally (requests). I could probably construct some kind of adapter between the two interfaces to be able to use this code, but ...

Has anyone else implemented (and open sourced) AWS Auth v2 in a way that makes it easily reusable by a Twisted-based HTTP client?

2
  • Signature Version 4 is fully documented and not that difficult to implement yourself. I've done it (though not in Python). It also has a test suite to verify that your code is correct. It is necessarily tied somewhat to the http library because it adds headers and needs to know/learn/be told what the existing headers are or what they will be. Commented Dec 25, 2016 at 18:12
  • Even easy code is work to implement and work to maintain over time. If I can use someone else's implementation, I'd much rather. Turns out someone probably has one for txAWS (I asked on a mailing list) and they're looking into contributing it upstream. Commented Dec 25, 2016 at 23:49

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.