Hi,
We r using Vault 0.10.1. We have been using postgresql as a database secret engine for a while with a single postgres. And it has been working fine.
On adding HA to postgres (that works in master slave mode) we needed to change the connection url to postgres from :
postgresql://{{username}}:{{password}}@<DB IP>:5432/postgres?sslmode=disable
TO
jdbc:postgresql://{{username}}:{{password}}@<DB IP>:5432/postgres?sslmode=disable&targetServerType=master
Ever since that Vault throws the error :
{"errors":["1 error occurred:\n\n* pq: Could not detect default username. Please provide one explicitly"]}
So what is the problem here - is it the jdbc URL or is there a different way to handle redundant postgres DBs or something else? Please help - this is a bit urgent as we run the risk of the feature being dropped. from our release.....
Appreciate any response on a Fri at this hour!!!
thanks,
Elizabeth