Tomme / dbt-athena

The athena adapter plugin for dbt (https://getdbt.com)
Apache License 2.0
140 stars 79 forks source link

[enhancement] There is no support for using IAM role for authentication #98

Closed ShantanuKumar closed 2 years ago

ShantanuKumar commented 2 years ago

Currently you can only use aws_profile_name for authentication. The connection to athena is managed using pyathena which does support using iam role.

ShantanuKumar commented 2 years ago

This works depending if you use assume role functionality. You don't need to set aws_profile_name.

Ryno-Marx commented 1 year ago

@ShantanuKumar I'm sitting with this type of issue now. Can you please elaborate what you mean by:

This works depending if you use assume role functionality. You don't need to set aws_profile_name