Skip to content

postgres/awspostgres: add IAM authentication support#3713

Open
giautm wants to merge 5 commits into
google:masterfrom
giautm:g/iam-postgres
Open

postgres/awspostgres: add IAM authentication support#3713
giautm wants to merge 5 commits into
google:masterfrom
giautm:g/iam-postgres

Conversation

@giautm
Copy link
Copy Markdown
Contributor

@giautm giautm commented May 18, 2026

When the password is omitted from the URL, use AWS IAM auth tokens via auth.BuildAuthToken. Supports aws_profile and aws_role_arn params.

When the password is omitted from the URL, use AWS IAM auth tokens
via auth.BuildAuthToken. Supports aws_profile and aws_role_arn params.
giautm added 3 commits May 18, 2026 12:50
When the password is omitted from the URL, use AWS IAM auth tokens
via auth.BuildAuthToken. Supports aws_profile and aws_role_arn params.
Tokens are refreshed on each connection to handle expiry.

Update Terraform harness to PostgreSQL 16.6, enable IAM auth on the
RDS instance, and provision the IAM user with schema permissions.
@giautm
Copy link
Copy Markdown
Contributor Author

giautm commented May 18, 2026

cc @vangent, I've tested and confirmed it's working.

Screenshot 2026-05-18 at 20 25 20

@masseelch
Copy link
Copy Markdown

@vangent Any chance you can have a look? I am keen to switch from the fork back to the release. 🙏

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

Successfully merging this pull request may close these issues.

3 participants