I'd like to use procastinate in my Django project, mainly because of it's awesome name ;).
I'm deploying my application on AWS, and would like to enable automatic secrets management for the RDS database that I'm using there. This implies that the database credentials can (and will) be rotated out, and that one should fetch fresh database credentials that have the newly applied password.
I would much prefer to be able to pass a connection factory to the pool's constructor, like one can do for psycopg2.connect(), instead of overriding a private method.
I'd like to use procastinate in my Django project, mainly because of it's awesome name ;).
I'm deploying my application on AWS, and would like to enable automatic secrets management for the RDS database that I'm using there. This implies that the database credentials can (and will) be rotated out, and that one should fetch fresh database credentials that have the newly applied password.
I have managed to do this by:
I would much prefer to be able to pass a connection factory to the pool's constructor, like one can do for
psycopg2.connect()
, instead of overriding a private method.