Redshift IAM auth is not working with temp credentials direclty in URL #3040
-
Hey people. I'm trying to connect in a Redshift instance using a role temporary credential, but It's not working passing keys directly in JDBC url.
And getting the error bellow:
But if I put the same values in a profile in credentials file, I connect successfully. The next piece of code works well:
What I need to do to connect using keys directly? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found out what the problem was.
https://docs.aws.amazon.com/AmazonS3/latest/userguide/RESTAuthentication.html |
Beta Was this translation helpful? Give feedback.
I found out what the problem was.
It´s necessary to encode some chars in the keys as indicated in S3 documentation:
https://docs.aws.amazon.com/AmazonS3/latest/userguide/RESTAuthentication.html