Hi there, I'm reading about using an external data...
# pact-broker
j
Hi there, I'm reading about using an external database and I came across this section
Copy code
Specify Credentials via Secret
Configure the Pact Broker to use an existing Secret to retrieve the user password as a means to connect to the database. Ensure that the Kubernetes Secret has the password in the user-password field and ensure that you have set externalDatabase.config.auth.existingSecret value to the name of the secret. To configure the username, you can use the username value.
In my situation, I'm provided with a secret that contains the encoded db password among other db details. The issue is that the field doesn't match
user-password
and unfortunately it cannot be changed as it's used across different areas. Is there any way I can map the field name to the required one so that I can use the right external db configuration?