Join Slack
Powered by
the default postgres connector for dagster doesn't...
# deployment-ecs
l
Leo Xiong
02/16/2023, 9:44 PM
the default postgres connector for dagster doesn't seem to support AWS IAM roles for authentication, wondering if anyone has a solution that doesn't involve using static db/rds credentials?
j
jordan
02/16/2023, 9:50 PM
Maybe some combination of
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/rds.html#RDS.Client.generate_db_auth_token
and
https://docs.sqlalchemy.org/en/14/core/engines.html#generating-dynamic-authentication-tokens
? It’s not supported out of the box by Dagster, but everything is using SqlAlchemy under the hood so you can maybe achieve this via subclassing or extending the existing Dagster classes.
l
Leo Xiong
02/16/2023, 9:51 PM
thanks, will look into this
Leo Xiong
02/16/2023, 10:06 PM
if we submitted a patch to support this use case, would Dagster accept the PR?
j
jordan
02/16/2023, 10:08 PM
Sure - but you’ll need to take care to make sure it’s backward compatible. You can assign me if you open one.
l
Leo Xiong
02/16/2023, 10:09 PM
sure. are there any contributor license agreements we need to sign? I don't see any in the guidelines
j
jordan
02/16/2023, 10:13 PM
nope
👍 1
6
Views
Open in Slack
Previous
Next