GitHub user potiuk edited a comment on the discussion: Support for authenticating to airflow metadata database like postgres sql with cloud specific authentication mechanism
You can use `_CMD` variant of retrieving value of https://airflow.apache.org/docs/apache-airflow/stable/cli-and-env-variables-ref.html#envvar-AIRFLOW__-SECTION-__-KEY-_CMD - this can point to a script that will return your secret connection retrieved from an external system. You can point it to any executable script/program that you run and which will return the connection string as it's output (make sure that you do not print EOL and flush your output). You can then use workflow identity or whatever other form of authentication you find appropriate for the binary to make sure that only your binaries running on your machines can retrieve the connection string. GitHub link: https://github.com/apache/airflow/discussions/43837#discussioncomment-11193907 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
