| From: | Matt Warren <matt(at)tramat(dot)com> |
|---|---|
| To: | pgadmin-support(at)lists(dot)postgresql(dot)org |
| Subject: | Password exec troubleshooting |
| Date: | 2025-10-11 21:04:57 |
| Message-ID: | D335D0B3-2B00-444B-8D37-AFB6E9787460@tramat.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-support |
Hello pgadmin-support
Long-time user, first time emailing.
I’m trying to use the Password exec feature to fetch a secret from AWS Secrets Manager. I’ve created both a python script and then a sh script and neither work. Oddly nothing about password exec is reported in logs. I just get the error below.
pgAdmin 4 v 9.7 as desktop app
python 3.13.7
macOS 15.7.1
Things I’ve tried:
Executing either script from the command line works as expected and returns just the password string.
scripts have chmod +x for all users.
I’ve provided the full path to script in the Password exec entry
Tried quoting and escaping command line.
The shell script uses aws cli and full path is provided in script.
Moved the script to the ~/Library/Application Support/pgAdmin 4 in case macOS disk access issues were in play.
Error:
connection failed: connection to server at “10.x.x.x", port 5432 failed: could not initiate GSSAPI security context: Unspecified GSS failure. Minor code may provide more information: Cannot find KDC for realm "KERBEROS.MICROSOFTONLINE.COM"
connection to server at “10.x.x.x", port 5432 failed: fe_sendauth: no password supplied
From what I can parse of source code, I don’t think the ENABLE_SERVER_PASS_EXEC_CMD comes into play as I’m not operating in server mode.
Does anyone have examples of a config that works?
Any advice on how I can debug further?
Thanks for any pointers!
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Aditya Toshniwal | 2025-10-13 04:56:56 | Re: Password exec troubleshooting |
| Previous Message | Bastiaan Wakkie | 2025-10-11 10:10:48 | Opening and saving files (crtl-o) (in 9.6 and 9.8) results in 500 error/Access denied |