DEV Community

Discussion on: Authenticating & Calling Google Cloud Function with Service Account

Collapse
 
frankshih profile image
frankShih • Edited

Hi,

According to my understanding, if I have multiple cloud functions to invoke, I have to use my JSON key to request the OIDC token for each function?
(the format is similar to the one I see in this article medium.com/google-cloud/authentica... So I think it might be OIDC token)

On the other hand, if I want to restrict the caller to have the permission to call only certain cloud function(s), I have to create a new service account and set the invoking rules, right?

Thanks for your sharing.

Collapse
 
praneetnadkar profile image
Praneet Nadkar

yes. Correct