-
Notifications
You must be signed in to change notification settings - Fork 30
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
SSO profiles not supported #70
Comments
Hi @thyming , could you please share the following to help us troubleshoot
My apologies for the delay in response. |
I don’t have that handy, but looking at the documentation for the aws sdk
version used in the project reveals that this method of authentication is
not supported.
…On Fri, Nov 11, 2022 at 1:07 PM Brooke White ***@***.***> wrote:
Hi @thyming <https://github.com/thyming> , could you please share the
following to help us troubleshoot
1. Code snippit showing how you're establishing the connection
2. Driver logs
My apologies for the delay in response.
—
Reply to this email directly, view it on GitHub
<#70 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ5N2OEJRXGLMSOFI257XTWH2DOVANCNFSM6AAAAAARLM5U4M>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@Brooke-white in the pom.xml, the driver still depends on the AWS SDK for Java 1.x. The 2.x libraries are using a different groupID like 'software.amazon.awssdk' According to AWS documentation: https://docs.aws.amazon.com/sdkref/latest/guide/feature-sso-credentials.html This is also noticable if I download the all-in-one zip file from https://docs.aws.amazon.com/redshift/latest/mgmt/jdbc20-download-driver.html after extraction all the dependencies are java 1.x sdk, such as 'aws-java-sdk-core-1.12.251.jar' |
Hi @thyming , while we will not be pursuing this issue in the near future, upgrading to use aws-sdk 2.x is part of our long term roadmap. We have decided to close it for now. It will be reopened when we come back to this issue. The Redshift Driver team appreciates your contribution and thanks you for bringing this to our attention! |
What about taking an approach like aws/aws-sdk-java#2434 (comment) |
Let me take a look and get back to you. We do plan on starting the migration to v2 sdk soon, so the efforts may be redundant. |
We used the approach above in other services/libraries and it was a very low-effort way of resolving the SSO issue which would be easy to swap out when migrating to the V2 SDK. |
@bhvkshah any update on this? |
This issue appears to be biting us as well. I have to delete the Any update on this issue? |
Driver version
2.1.0.9
Problem description
Based on AWS docs, this is expected with the redshift client version this library is using.
JDBC trace logs
Reproduction code
The text was updated successfully, but these errors were encountered: