If you want to use a local password less connection then you need to remove the values “HOST”, “PORT” and “PASSWORD”.
With this configuration your connector will try to connect using a unix domain socket which is the only allowed password less connection allowed by default in Postgres