Taragolis commented on issue #25326: URL: https://github.com/apache/airflow/issues/25326#issuecomment-1196877457
> This does not include the Assume Role methods and configuration framework offered by the [AWSBaseHook](https://github.com/apache/airflow/blob/main/airflow/providers/amazon/aws/hooks/base_aws.py#L609). I am proposing we extend the Secrets Backend integrations, so that they can be configured in a similar manner. Right now almost everything related to `boto3.session.Session` in Hooks managed by [airflow.providers.amazon.aws.hooks.base_aws.BaseSessionFactory](https://github.com/apache/airflow/blob/4e50ea4df0cfa0e38c4217300d15999148910def/airflow/providers/amazon/aws/hooks/base_aws.py#L56) or [Custom Session Factory](https://airflow.apache.org/docs/apache-airflow-providers-amazon/stable/connections/aws.html#session-factory). The downside of this - Factory expect Airflow Connection, and as workaround might be possible to create Fake Airflow Connection and use it for obtain credentials. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
