1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
It is indeed a best practice to use an IAM role rather than embedding credentials in the JDBC connection string. Attach the AWSQuicksightAthenaAccess Managed Policy to the IAM role used in the EC2 instance profile. Then specify the DefaultAWSCredentialsProviderChain
in the JDBC connection string. The JDBC connection string would look like this:
jdbc:awsathena://AwsRegion=<aws-region>;S3OutputLocation=s3://<s3_bucket>/;AwsCredentialsProviderClass=com.simba.athena.amazonaws.auth.DefaultAWSCredentialsProviderChain
Read more here on Using Athena with the JDBC Driver.
답변함 4년 전
관련 콘텐츠
- AWS 공식업데이트됨 3년 전