https://prefect.io logo
Title
z

Zi Yuan

12/12/2022, 12:51 PM
Hi , can someone tell me how to pass Service Account Info in the prefect_gcp block. There should be a json file saved somewhere. But Im deploying the jobs in ECS, so I cannot save the json file locally, so what will be the best practice to save the service account info savely and I can refer that path in the prefect_gcp block? many thanks!
1
a

Anna Geller

12/12/2022, 12:56 PM
good question, the easiest is to copy-paste the entire content of the JSON file and paste it into your
GcpCredentials
block, which you can use for various other use cases
you can do that from the Prefect UI directly
z

Zi Yuan

12/12/2022, 12:57 PM
all right! thaanks! i will have a look 🙂
🙌 1