Caleb Ejakait
02/03/2022, 3:10 PMKevin Kho
GCP_CREDENTIALS
is Prefect specific. The standard way is having an env variable called GOOGLE_APPLICATION_CREDENTIALS
and pointing it to a JSON containing the credentials.
Or maybe you can just import this function and create the Client the same way for the task you have so that you can reuse the same Secret?Caleb Ejakait
02/03/2022, 3:23 PM