Skip to content

Support for providing a callable for passwords #553

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
HLFrye opened this issue Apr 7, 2020 · 0 comments
Closed

Support for providing a callable for passwords #553

HLFrye opened this issue Apr 7, 2020 · 0 comments

Comments

@HLFrye
Copy link

HLFrye commented Apr 7, 2020

We would like to use IAM roles for authentication with our AWS RDS hosted Postgres instance. This AWS functionality is described here. This feature allows an application to request a temporary password using AWS credentials. The temporary password grants access to the database, but the password expires after 15 minutes.

In order to use this feature along with a connection pool, we need to be able to pass a callable that returns a string as a password, rather than a string itself. This callable will need to be called each time the connection pool needs to create a new connection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant