Skip to content
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

Unable to use IAM credentials #62

Open
Gauravshah opened this issue Jan 5, 2020 · 1 comment
Open

Unable to use IAM credentials #62

Gauravshah opened this issue Jan 5, 2020 · 1 comment

Comments

@Gauravshah
Copy link

Clone of issue : databricks#370

Newer versions of the jdbc driver allow for use of IAM credentials instead of username/password. [1]

This is preferable to storing and passing around credentials.

It looks like the parameter validation in spark-redshift should be updated to reflect the new authentication method. [2]

[1] http://docs.aws.amazon.com/redshift/latest/mgmt/generating-iam-credentials-configure-jdbc-odbc.html
[2] https://github.com/databricks/spark-redshift/blob/master/src/main/scala/com/databricks/spark/redshift/Parameters.scala#L71

@lucagiovagnoli
Copy link

Hi @Gauravshah, we removed tests and support for IAM credentials in 4.0.0, check out the CHANGELOG here

  • STS and IAM authentication support has been dropped.

It was a lot of work to get to 4.0.0 and we had to drop something. If you'd like to fix IAM support, I'll be happy to review your PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants