airflow
airflow copied to clipboard
Allow Google Hooks to use AnonymousCredentials
Description
Currently, all Google operations demands valid credentials to connect with GCP, but when trying to mock Google services using emulators, we are giving the opportunity to redirect all requests to them via environment variables from the SDK, but we can't configure the hooks to not require any credentials in this circumstances.
Use case/motivation
- Enable easy mocking and testing of Google Cloud Operators by enabling AnonymousCredentials to be used as the Connection option.
Related issues
No response
Are you willing to submit a PR?
- [x] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
@eladkal Could you please assign me?