-
Notifications
You must be signed in to change notification settings - Fork 167
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
SNOW-618478: Support private key base64 in connection parameters #1847
SNOW-618478: Support private key base64 in connection parameters #1847
Conversation
…ng with the new session property key "private_key_base64"
Thanks for taking this @sfc-gh-dprzybysz! It helps a lot of Hikari <> Snowflake users 🚀 |
…connection-parameters
src/main/java/net/snowflake/client/core/SessionUtilKeyPair.java
Outdated
Show resolved
Hide resolved
src/main/java/net/snowflake/client/core/SessionUtilKeyPair.java
Outdated
Show resolved
Hide resolved
@sfc-gh-dstempniak @sfc-gh-dprzybysz I made improvements based upon your feedback to the fork on https://github.com/Qualytics/snowflake-jdbc/tree/master which formed the original PR. It's rebased against your master branch. |
#1862) Fixes issue where the absence of the slf4j-api library from the classpath results in a NoClassDefFoundError/ClassNotFoundException because the class org.slf4j.LoggerFactory can't be found
…64 bytes Adds private_key_pwd session property that may be used interchangeably with existing private_key_file_pwd. Marks private_key_file_pwd property as deprecated as in the future it'll be completely replaced with private_key_pwd. Rename usages of privateKeyFilePwd to privateKeyPwd to clarify that from now it may refer not only to the file but also private_key_base64.
All contributors have signed the CLA ✍️ ✅ |
…64 bytes Adds private_key_pwd session property that may be used interchangeably with existing private_key_file_pwd. Marks private_key_file_pwd property as deprecated as in the future it'll be completely replaced with private_key_pwd. Rename usages of privateKeyFilePwd to privateKeyPwd to clarify that from now it may refer not only to the file but also private_key_base64.
Do we have a timeline of when this PR will get merged? |
…connection-parameters
I have read the CLA Document and I hereby sign the CLA |
@ets Thank you for your contribution. There was already some divergence between this PR and the fork so I looked through your changes and migrated them to this branch. I believe this approach should work for you. |
…connection-parameters
Sorry @josecsotomorales I missed your comment, I'm still working on some failing checks but we're aiming to get this PR merged before the August release. |
…rameters' of github.com:snowflakedb/snowflake-jdbc into SNOW-618478-support-private-key-base64-in-connection-parameters
Overview
SNOW-618478
Based on #1810
Pre-review self checklist
master
branchmvn -P check-style validate
)mvn verify
and inspecttarget/japicmp/japicmp.html
)SNOW-XXXX: