- Newest
- Most votes
- Most comments
I don't think in the first case "useConnectionProperties" is doing anything since that is for JDBC connections (not custom), the connection name should be enough and I think that is that is what is overriding the user/password when you pass it. I suspect there is something wrong with the secret you have configured (make sure the key in the secret is "username" and not "user".
I found this post which mentions setting user=${username},password=${password}
placeholders as part of the URL base in the connector. Adding this configuration fixed the issue I was facing.
This is mentioned in this AWS doc, but it was unclear to me how to use these. For instance, I initially tried to use ${secretKey}
but I am apparently not using this as intended.
Final tip, after updating the connector with the credential placeholders, you need to update the connection by selecting default
from the Connection credential type
dropdown. This refreshes the connection with the connector updates.
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
The secret key is
username
notuser
. I think is is configured correctly sinceextract_jdbc_conf
returns the correct values.I tried the connection without
useConnectionProperties
and the result was the same.