GitHub user dosubot[bot] added a comment to 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).*

---
<sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/54fee477-e958-4b52-ab1d-7083c0523e75?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/54fee477-e958-4b52-ab1d-7083c0523e75?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/54fee477-e958-4b52-ab1d-7083c0523e75?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/54fee477-e958-4b52-ab1d-7083c0523e75?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/54fee477-e958-4b52-ab1d-7083c0523e75?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/54fee477-e958-4b52-ab1d-7083c0523e75?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/54fee477-e958-4b52-ab1d-7083c0523e75?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat
 with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&
 nbsp;[![Join 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/35894)

GitHub link: 
https://github.com/apache/superset/discussions/35894#discussioncomment-14819189

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to