I have an application that talks to two postgresql databases that have their credentials stored in Vault in 2 different vault namespaces.
db1 → has credentials stored in “vault-namespace1”
db2 → has credentials stored in “vault-namespace2”
app1 – > running on “k8s-namespace1” and needs credentials of both db1 and db2.
Is there a way I can use Vault side car injector in my app to retrieve credentials from Vault for both db1 and db2 ? If yes, is there an example ?