Replies: 1 comment
-
Hi @mdeshmu , If you're looking to use native authentication (user/password), you can do so as follows: connect_args = {
host='my-serverless-endpoint',
port=5439,
user='my_user',
password='my_password'
} When performing IAM authentication, redshift-connector uses this boto3 API endpoint for retrieving temporary credentials. This API endpoint returns a database user and temporary database password used for authentication with Redshift. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to connect to Redshift serverless using database authentication with temporary credentials fetched using IAM permissions similar to #123 but redshift-connector doesn't fetch temporary credentials for the user mentioned in conect_args. It fetches credentials for the IAM role of the aws service on which our app is running.
How to connect to Redshift serverless with database (native user) authentication using redshift_connector?
Beta Was this translation helpful? Give feedback.
All reactions