ghz icon indicating copy to clipboard operation
ghz copied to clipboard

Can figure out how to use ghz with GCP service account

Open chengzh2008 opened this issue 2 years ago • 2 comments

Thanks for this amazing open-source tool.

I have a question regarding authenticating with the GCP service account. Just wondering how ghz can be called to use GCP service account for a gRPC server running in the Cloud Run. I have tried to find documentation but failed. Not sure if ghz support this feature. Any help would be appreciated.

chengzh2008 avatar May 16 '22 17:05 chengzh2008

hi, @chengzh2008 , have you figured out a way to integrate with gcp service account for the authentication ? I am having the same issue, and I will appreciate if you can provide some hint or comment here, thanks.

zbhuang2008 avatar Aug 12 '22 13:08 zbhuang2008

Figured it out. Create one docker image, which has ghz, and the token-generator program. In the script, create one loop, inside the look, it first uses sa to generate the token, then uses token for ghz call. then it continues the loop.

zbhuang2008 avatar Aug 20 '22 12:08 zbhuang2008