Skip to content
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

Feature Request: Add Support for IAM Authentication with AWS RDS (PostgreSQL) #127

Open
adrianhaj opened this issue Oct 4, 2024 · 2 comments

Comments

@adrianhaj
Copy link

Description:

As a user, I would like to be able to connect to an AWS RDS instance (PostgreSQL) for reading and writing data using IAM roles instead of providing a username and password. This would enhance security and streamline authentication by leveraging AWS IAM.

Context:

Currently, authentication to the RDS instance requires specifying a database username and password. However, AWS provides a more secure alternative by using IAM database authentication, allowing users to connect to RDS instances using temporary authentication tokens. This feature would allow users to authenticate using IAM roles without needing to manage database credentials manually.

References:

AWS Documentation: Using IAM Database Authentication with PostgreSQL

Proposed Solution:

Integrate IAM-based authentication for AWS RDS (PostgreSQL) into the project by utilizing the Go code example provided by AWS. This would allow users to authenticate with IAM roles and simplify the connection process for RDS interactions.

@jem-davies jem-davies self-assigned this Oct 14, 2024
@jem-davies
Copy link
Collaborator

#135

@jem-davies
Copy link
Collaborator

Added the ability to read the username + password from a secret for postgres DSN ... Will look further into doing the IAM authentication too soon.

@jem-davies jem-davies removed their assignment Oct 23, 2024
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

2 participants