shahar1 commented on issue #34727:
URL: https://github.com/apache/airflow/issues/34727#issuecomment-1868242009

   > @melugoyal I think it is more complicated than that. As mentioned above, 
if you follow the trigger through it leads to 
`GoogleBaseHook.provide_gcp_credential_file_as_context()` where there isn't any 
provision for dealing with the impersonation chain.
   > 
   > 
https://github.com/apache/airflow/blob/main/airflow/providers/google/common/hooks/base_google.py#L499-L532
   
   Apologies for the delayed response - I haven't managed to look up into this 
until now.
   As you stated, the problem is indeed more complicated, as 
`GoogleBaseHook.provide_gcp_credential_file_as_context()` is not provisioned 
with the impersonation chain.
   It seems that the reason that it hasn't been supported until now, is that 
the `gcloud-aio` library (which in turn creates the async `Job` instance) does 
not support impersonated credentials. See: #29535 and 
https://github.com/talkiq/gcloud-aio/issues/421.
   
   @eladkal FYI


-- 
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]

Reply via email to