dacort / metabase-athena-driver

An Amazon Athena driver for Metabase 0.32 and later
Apache License 2.0
225 stars 32 forks source link

Add assume role option if running metabase in an AWS environment #32

Closed chrispruitt closed 4 years ago

chrispruitt commented 4 years ago

I am currently running Metabase from a docker image on ecs. It would be awesome if the athena driver would allow an option to assume the role of the ecs task instead of passing in aws access keys. Or make them optional and, by default, assume the ecs task role.

dacort commented 4 years ago

Hi @chrispruitt - In #17 support for using the EC2 instance profile credentials was added. Will this work in the ECS environment? You can try it by just leaving out the access keys in the DB config.

chrispruitt commented 4 years ago

Hey @dacort, that does work! thanks for the quick response. I'll go ahead and close.