You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/07/27 15:03:04 UTC

[GitHub] [airflow] Taragolis commented on issue #25326: The AWS Secrets Backends (SM and SSM) do not allow configuration of Assume Role Methods via Backend Kwargs

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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org