encrypt psql password in unix script

From: Suresh Raja <suresh(dot)rajaabc(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: encrypt psql password in unix script
Date: 2015-07-08 18:34:44
Message-ID: CAJP7dtBTkFiF4h6E9jWKToBjRrRmVNWrEan5EmpGK+oBvt_4sQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

Hi:

I cannot use .pgpass as the password stored here is not encrypted.

can i use a encrypted password from unix shell script. has anybody ran
into same situation. Wht options do i have.

Thanks,
-SR

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2015-07-08 18:46:23 Re: encrypt psql password in unix script
Previous Message Ivan Panchenko 2015-07-08 17:17:29 Re[2]: [GENERAL] PG 9.4.4 issue on French Windows 32 bits

Browse pgsql-sql by date

  From Date Subject
Next Message John R Pierce 2015-07-08 18:46:23 Re: encrypt psql password in unix script
Previous Message ktm@rice.edu 2015-07-08 18:21:41 Re: Oracle to PostgreSQL Migration - Need Information