all our postgres passwords are secured within a Hashicorp Vault.
Postgres passwords currency cycle every 45 days
Later this year DBA team will change that to Hourly.
it is easy enough to build a command line interface to retrieve a password from the vault
and it is easy enough to pipe that into a psql session
what I would like to do is either use a command line interface wherein
I use the PGADMIN master password and perform maintenance on a password of a server
OR have pgadmin use Hashicorp's api to pull password directly from vault.
what are my options?