Обсуждение: Hide psql passwords
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
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.
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.
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!
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!