How can I use *`prefect.utilities.gcp.get_storage_client` for
Flow(...*storage=GCS(bucket=...
? I'd create a client myself and without using
GOOGLE_APPLICATION_CREDENTIALS
. Can someone point me to the right direction?
k
Kevin Kho
02/12/2022, 11:38 PM
So you can authenticate in two ways:
1. GOOGLE_APPLICATION_CREDENTIALS on the execution environment
2. A secret named
GCP_CREDENTIALS
that contains the service account key as seen here
To create the client, that utility function will create the credentials and pass it to the client here
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.