-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Add KeyStore based CredentialProvider for JDBC based connectors #1521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add KeyStore based CredentialProvider for JDBC based connectors #1521
Conversation
fd292c0 to
26d8ff0
Compare
26d8ff0 to
fc6c236
Compare
kokosing
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will merge it once the release goes out.
|
Merged, thanks! |
|
Had a hard time figuring out how to enable this on my trinodb deployment, adding the details here for people who might be looking for the same if your MySQL username is root and MySQL password is password ( I am sure I don't have to explain why that's a bad password )
You will see the following o/p With this, you would have successfully store the username in the keystore,
You will see the following prompt Once this is done, you would have a Hope this helps |
|
@mosabua Can capture the above as part of the documentation? |
|
@kokosing I am missing context here.. what is that provider? Is there any existing docs for it or the related properties? Does this apply to all JDBC connectors (and hence needs to be done as imported fragment or so)? Are there other credential providers? |
|
That is the point. It is not documented. By default we are using (for all JDBC connectors): Which allows users to define Other option is to use: Then user has to define the below in connector properties file: Then in And the last is Thanks to |
|
CC: @Praveen2112 anything to add? |
|
@Ordinant @jhlodin @rosewms @m57lyra - please create a github issue for the above and assist @Jessie212 with implementation. |
No description provided.