To connect Amazon Athena with IAM Profile, first, create a DSN on your Windows or Mac and set the following:
See: Amazon Athena ODBC Setup Guide for details.
Mac
- Set the AuthenticationType property to IAM Profile.
- Set the AWSProfile property to the name of the profile to use.
- Optionally, set the PreferredRole property to the Amazon Resource Name
(ARN) of the role you want to assume when authenticating through an external
credential service.
Windows
- To access authentication options, open the ODBC Data Source Administrator
where you created the DSN, then select the DSN, then click Configure, and
then click Authentication Options. - From the Authentication Type drop-down list, select IAM Profile.
- In the AWS Profile field, type the name of the profile to use.
- Optionally, in the Preferred Role field, type the Amazon Resource Name (ARN)
of the role you want to assume when authenticating through an external
credential service. - To save your settings and close the Authentication Options dialog box, click
OK
Then create an ODBC Data Source on Exploratory Desktop and use the DSN created above.