RedShift Connection with dbgroup and role

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
johan swart
Posts: 1
Joined: Tue 03 Jul 2018 14:24

RedShift Connection with dbgroup and role

Post by johan swart » Wed 03 Aug 2022 07:39

Hi,

I would like to connect to a AWS Redshift database using the Devart UniDAC Redshift Provider and connection.
I have managed to figure out how to do it in ODBC with the Redshift (64 bit) ODBC driver, and can use theODBC provider to connect.

I would however like to connect directly.

To connect to the database the login is handled via https url and then one needs to specify a role and a dbgroup. I do not know how to specify the latter in the connector.

https://1drv.ms/u/s!At7PungYM9FrsKYz0om ... g?e=P2swvc

Any help to connect will be appreciated!!

Regards,
Johan
PS: I am using version 8.4.3

jamecorbitt
Posts: 1
Joined: Tue 06 Sep 2022 11:00
Contact:

Re: RedShift Connection with dbgroup and role

Post by jamecorbitt » Tue 06 Sep 2022 11:11

Try to use a named profile in credentials.
awsume has an option to write the credentials to the file: awsume -o default role-profile-name will write them as [default] in ~/.aws/credentials.

Post Reply