kaxil edited a comment on issue #8432: Provide GCP credentials in Bash/Python 
operators
URL: https://github.com/apache/airflow/pull/8432#issuecomment-615865246
 
 
   I agree with Jarek here, any cloud specific code in Core Operators would 
hurt my eyes.
   
   Each cloud provider also provides a way to authenticate using an Environment 
Variable too. In case of GCP it is GOOGLE_APPLICATION_CREDENTIALS which can be 
used for Bash and Python Operators.
   
   And if the Virtual Machine is on that Cloud Provider itself you don't need 
to authenticate as you can VM's credentials too.
   
   We already allow injecting env vars to BashOperator.
   
   Users have enough flexibility in Bash and Python, is my main point. I would 
let them take care of this, rather than having us to maintain this code.

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


With regards,
Apache Git Services

Reply via email to