Re: How to fork pg_dump or psql w/o leaking secrets?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to fork pg_dump or psql w/o leaking secrets?
Дата
Msg-id 1065798.1695408971@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: How to fork pg_dump or psql w/o leaking secrets?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: How to fork pg_dump or psql w/o leaking secrets?  (Dominique Devienne <ddevienne@gmail.com>)
Список pgsql-general
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> Once you have the password you should utilize the PGPASSWORD environment
> variable to get it passed to psql.  It doesn’t matter in the least how you
> obtained that password in the first place.

Keep in mind that on many flavors of Unix, a process's environment
variables can readily be inspected by other processes.  You should
check your platform carefully before assuming that PGPASSWORD is
a safe way to pass down a secret.

            regards, tom lane



В списке pgsql-general по дате отправления:

Предыдущее
От: Nick Ivanov
Дата:
Сообщение: Re: Start service
Следующее
От: Brad White
Дата:
Сообщение: Re: Start service