dgorelik opened a new issue #9236:
URL: https://github.com/apache/airflow/issues/9236


   **Description**
   
   Allow a a Google API credentials object to be provided for GoogleBaseHook. I 
think this would be as  simple as updating the initializer to set 
`self._cached_credentials` to a passed-in arg here:
   
https://github.com/apache/airflow/blob/daed75260903119f8f5dc8ee493778c50b1a6a8f/airflow/providers/google/common/hooks/base_google.py#L156
   
   **Use case / motivation**
   
   This should allow a service accounnt running Airflow to [impersonate another 
service 
account](https://google-auth.readthedocs.io/en/latest/reference/google.auth.impersonated_credentials.html),
 without needing to deal with exported service account keys as the connection 
ID paradigm seems to require.
   
   Does this change make sense given the Airflow architecture?


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to