generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 265
Closed
Labels
feature-requestA feature should be added or improved.A feature should be added or improved.
Description
This feature request is for generate-db-auth-token in RDS to enable IAM authentication.
Granting rds_iam to a user to enable IAM authentication disables password authentication so this would be helpful to stay with IAM auth.
The typical usage is setting the environment variable
export PGPASSWORD="$(aws rds generate-db-auth-token --hostname $RDSHOST --port 5432 --region us-west-2 --username iamuser)"
which is then used to authenticate using your chosen method, e.g. psql or JetBrains AWS Toolkit.
[1] generate-db-auth-token on AWS Docs
[2] How do I connect to my RDS PostgreSQL instance using IAM authentication?
Maintainers notes
- Include this example in the RDS docs
- add a customization to add this to the RDS client
rcoh and elldritch
Metadata
Metadata
Assignees
Labels
feature-requestA feature should be added or improved.A feature should be added or improved.