GitHub user andrii-korotkov-verkada added a comment to the discussion: Support IAM auth for a database when connecting via CLI
I want to integrate IAM auth for Postgres DB. In my specific case it's about AWS one https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html, but could be more generic. I've managed to find docs for that https://airflow.apache.org/docs/apache-airflow-providers-amazon/stable/connections/aws.html#session-factory, custom factory session. However, earlier section of the doc https://airflow.apache.org/docs/apache-airflow-providers-amazon/stable/connections/aws.html#configuring-the-connection makes it look like you are responsible for refreshing the credentials, which is not as convenient. Postgres doc https://airflow.apache.org/docs/apache-airflow-providers-postgres/stable/connections/postgres.html also suggests using username and password. Overall, this looks like a case where a documentation can be improved. I'll submit a PR later. GitHub link: https://github.com/apache/airflow/discussions/45385#discussioncomment-11741603 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
