Team, I am using amazon redshift ( 8.0.2. ). While connect redshift cluster, we can connect without password ( this setting we can do in my local machine - pg_hba.conf entry ).But I have set "md5" to prompt password.
# IPv4 local connections:
host all all 127.0.0.1/32 md5
# IPv6 local connections:
host all all ::1/128 md5
#host postgres postgres <my_ip> md5
Now i would like to connect redshift thro linux server. in my shell script, I am connecting redshift and doing my activities. But I should be able to connect redhsift (i.e i shold be able to pass the password as variable, and after connect, i should be able to perform my activities ).
Could you please guide me on this ?
Thaks