Authentication IAM access key
Description
No description available [API reference]
Instructions
Athena JDBC v3 uses IAM access keys (same idea as a Stripe secret key). Query results land in S3. Bridge then serves Power BI, SQL Server Linked Server via ZappySys Data Gateway, Crystal Reports, SSRS, Azure Data Factory, and other ODBC tools.
- Sign in to the IAM console.
- Create (or reuse) an IAM user or role with Athena and Glue catalog permissions plus
s3:GetObject/s3:PutObjecton the query-results bucket. - Open Security credentials and create an access key. Copy Access key ID into User name and Secret access key into Password. Do not check keys into XML or TFVC.
- In the Athena console, note Region, WorkGroup (often
primary), Catalog, and the S3 output location (s3://your-bucket/prefix/). - After Finish, edit the JDBC URL on the DSN Main UI to replace WorkGroup, Region, Catalog, and OutputLocation.
- Finish the wizard. Then click Test Connection on the DSN Main UI (the wizard does not run Test Connection).
- Done. You can query from C#, Python, PowerShell, and ODBC apps.
Parameters
| Parameter | Required | Default value | Options |
|---|---|---|---|
|
Name:
Label: JDBC driver file(s) Filled by the wizard after download. Separate multiple JARs with a semicolon (e.g. C:\ZappySys\Jdbc\MyConnector\driver.jar). |
YES |
C:\ZappySys\Jdbc\Amazon Athena\athena-jdbc-3.8.1-with-dependencies.jar
|
|
|
Name:
Label: Workgroup Athena workgroup (e.g. primary). |
YES |
primary
|
|
|
Name:
Label: AWS region AWS region (e.g. us-east-1). |
YES |
us-east-1
|
|
|
Name:
Label: Athena catalog Athena catalog (e.g. MyAwsDataCatalog). |
YES |
MyAwsDataCatalog
|
|
|
Name:
Label: Output location Athena query result S3 location (e.g. s3://my-s3-bucket/). |
YES |
s3://my-s3-bucket/
|
|
|
Name:
Label: Access key ID IAM access key ID (not a personal AWS console login). Paste from IAM > Security credentials. |
YES | ||
|
Name:
Label: Secret access key IAM secret access key for the same access key ID. |
YES | ||
|
Name:
Label: Driver class Optional. Leave blank to auto-detect from the JAR unless SPI is ambiguous (e.g. com.amazon.athena.jdbc.AthenaDriver). |
com.amazon.athena.jdbc.AthenaDriver
|