You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "dosubot[bot] (via GitHub)" <gi...@apache.org> on 2026/05/02 03:04:27 UTC
Re: [D] Configuring Superset to use AWS IAM authentication to connect to metastore database hosted in RDS [superset]
GitHub user dosubot[bot] edited a comment on the discussion: Configuring Superset to use AWS IAM authentication to connect to metastore database hosted in RDS
<!-- Greeting -->
Hi @prtlgncscottshealy! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team.
<!-- Answer -->
Superset does not currently provide built-in support or documentation for using AWS IAM authentication with the metastore database connection. The metastore connection is configured via the SQLALCHEMY_DATABASE_URI setting, and while hooks like SQLALCHEMY_CUSTOM_PASSWORD_STORE and DB_CONNECTION_MUTATOR exist, they are intended for data source connections and are not applied to the metastore connection during initialization. IAM authentication is supported for data sources (like Redshift or Athena) via SQLAlchemy URI and connect_args, but this approach is not available for the metastore connection. Any IAM integration for the metastore would require custom logic outside of standard Superset configuration options, such as generating IAM tokens externally and injecting them into the connection string at startup ([source](https://github.com/apache/superset/blob/master/superset/config.py)).
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).*
---
Docs are dead. Just use [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-tagline&utm_term=apache%2Fsuperset).
[](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-feedback&utm_term=apache%2Fsuperset&message_id=54fee477-e958-4b52-ab1d-7083c0523e75) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-ask-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-share-team&utm_term=apache%2Fsuperset)
GitHub link: https://github.com/apache/superset/discussions/35894#discussioncomment-14819189
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org