AbhimanyuHK / aws-psycopg2

A aws psycopg2 package from psycopg2 https://pypi.org/project/aws-psycopg2/
75 stars 11 forks source link

Add RDS Combined CA #7

Closed djfurman closed 2 years ago

djfurman commented 3 years ago
djfurman commented 3 years ago

@AbhimanyuHK any feedback on adding the certificates in and getting an update build in? I was considering modifying the connect method to always include them since this is designed for AWS, but didn't want to presume that you wanted to go that way.

AbhimanyuHK commented 3 years ago

@djfurman can you provide more information for adding the PEM file. Sorry for the late reply.

djfurman commented 3 years ago

No worries! To do an SSL secured connection to an RDS instance, we need to connect with the verify-ca option. This requires us to pass the RDS certificate authority. By packaging the PEM file, we can keep all the AWS requirements together without having to keep public keys in S3 or elsewhere and pull them on start.

djfurman commented 3 years ago

Just a quick bump, did I answer your question? Happy to add more context

djfurman commented 3 years ago

@AbhimanyuHK Bumping this PR again. Let me know if you have any questions.

Also It would be great to get builds for Python 3.7, 3.8 and 3.9 published since 3.6 is reaching end of life.

AbhimanyuHK commented 2 years ago

thanks @djfurman

djfurman commented 2 years ago

You're most welcome @AbhimanyuHK - is this something you'd be open to a PR from me to help build out? I'm happy to assist if you're open to it.

I'd love love to also add support for: