scram-sha-256 encrypted passwords are supported in .pgpass file ? If yes kindly provide us an example.I am using below format and it is not working for mepglnx1
:5432
:pgbouncer:pgadmin
:"SCRAM-SHA-256$4096:6IDsjfedwsdpymp0Za7jaMew==$rzSoYL4ZYsW1WJAj7Lt3JtNLNR73AVY7sfsauikweblk][=:Hxx/juPXJZHy5djPctI="
The documentation doesn't say so one way or the other so I would go with no. The password in the pgpass file has to be the plaintext password. The client, upon speaking with the server, will decide whether to send the plaintext password to the server or encrypt it prior to transmission.
What would be the point of storing the encrypted password instead of the plaintext one?
David J.