port 5432 failed: FATAL: PAM authentication failed for user

I was facing this issue in RDS PostgreSQL after I grant all roles to postgres user. To resolve this issue run below command

revoke rds_iam from postgres;

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s