| From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
|---|---|
| To: | Pavan Kumar <pavan(dot)dba27(at)gmail(dot)com>, Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>, pgsql-general(at)lists(dot)postgresql(dot)org |
| Subject: | Re: scram-sha-256 encrypted password in pgpass |
| Date: | 2020-06-22 21:56:19 |
| Message-ID: | 9c0675b9-6a4e-8692-2660-c6a37385f2aa@aklaver.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin pgsql-general |
On 6/22/20 1:34 PM, Pavan Kumar wrote:
> Hello expertes,
>
> 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 me
>
> /|pglnx1|/:/|5432|/:pgbouncer:/|pgadmin|/:"SCRAM-SHA-256$4096:6IDsjfedwsdpymp0Za7jaMew==$rzSoYL4ZYsW1WJAj7Lt3JtNLNR73AVY7sfsauikweblk][=:Hxx/juPXJZHy5djPctI=*/"/*
You need to use the plain text version of the password like for md5.
Supplying the password via .pgpass is no different from supplying it
from the command line or script.
>
> Please advise
>
> --
> *Regards,
>
> #! Pavan Kumar
> ----------------------------------------------*-
> *Sr. Database Administrator..!*
> *NEXT GENERATION PROFESSIONALS, LLC*
> *Cell # 267-799-3182 # pavan.dba27 (Gtalk) *
> *India # 9000459083*
>
> *Take Risks; if you win, you will be very happy. If you lose you
> will be Wise *
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David G. Johnston | 2020-06-22 22:04:42 | Re: scram-sha-256 encrypted password in pgpass |
| Previous Message | Pavan Kumar | 2020-06-22 20:34:25 | scram-sha-256 encrypted password in pgpass |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Daniel Verite | 2020-06-22 22:00:37 | RE: autovacuum failing on pg_largeobject and disk usage of the pg_largeobject growing unchecked |
| Previous Message | Guy Burgess | 2020-06-22 21:52:35 | Re: Feature suggestion: auto-prefixing SELECT query column names with table/alias names |