mik-laj commented on issue #10596:
URL: https://github.com/apache/airflow/issues/10596#issuecomment-712146597


   @rajatsri28  I think support for a single service account is sufficient in 
most cases. `gcloud config set auth/impersonate_service_account`  The gcloud 
command should work for all operators that use gcloud, so all you have to do is 
add account name forwarding in 
`airflow.providers.google.common.hooks.base_google.GoogleBaseHook.provide_authorized_gcloud`
 method.
   
   `gcloud config set auth/impersonate_service_account` command and 
`--impersonate-service-account` argument behave similarly, but I think the 
first method will be simpler to implement.  I am not sure about this and think 
it is worth checking for all the gcloud supported authentication methods.


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