Обсуждение: Hide psql passwords

Поиск
Список
Период
Сортировка

Hide psql passwords

От
Mauricio Fernandez
Дата:
Hi admins, I'm wondering if there is any other way the password in a psql session besides .pgpass file??

Some thing like oracle wallets ??

Thanks in advance

regards

Mauricio Fernández

Re: Hide psql passwords

От
"David G. Johnston"
Дата:
On Tuesday, November 18, 2025, Mauricio Fernandez <mmauricio.fernandez@gmail.com> wrote:
Hi admins, I'm wondering if there is any other way the password in a psql session besides .pgpass file??

That, or an environment variable.

David J.

Re: Hide psql passwords

От
Mauricio Fernandez
Дата:
Thank you for answering my questions David

kind regards

MF

El mar, 18 nov 2025 a las 10:51, David G. Johnston (<david.g.johnston@gmail.com>) escribió:
On Tuesday, November 18, 2025, Mauricio Fernandez <mmauricio.fernandez@gmail.com> wrote:
Hi admins, I'm wondering if there is any other way the password in a psql session besides .pgpass file??

That, or an environment variable.

David J.

Re: Hide psql passwords

От
Ron Johnson
Дата:
On Tue, Nov 18, 2025 at 8:34 AM Mauricio Fernandez <mmauricio.fernandez@gmail.com> wrote:
Hi admins, I'm wondering if there is any other way the password in a psql session besides .pgpass file??

Some thing like oracle wallets ??

There's GSSAPI encryption, if you have Active Directory.

--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!

Re: Hide psql passwords

От
Mauricio Fernandez
Дата:
Thanks for the tip Ron

Kind regards

Mauricio Fernández

El mar, 18 nov 2025 a las 11:27, Ron Johnson (<ronljohnsonjr@gmail.com>) escribió:
On Tue, Nov 18, 2025 at 8:34 AM Mauricio Fernandez <mmauricio.fernandez@gmail.com> wrote:
Hi admins, I'm wondering if there is any other way the password in a psql session besides .pgpass file??

Some thing like oracle wallets ??

There's GSSAPI encryption, if you have Active Directory.

--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!