Reputation: 1268
So I'm writing an internal API with Google's cloud functions and we're going to allow only authenticated internal service accounts to access that function. We have some security issues and I was wondering if it's possible to allow for example everyone to make POST calls but limit the service accounts that can make a GET call. Is this possible?
Upvotes: 1
Views: 287
Reputation: 75715
You can use API Gateway to set different level of security on different endpoints and different verbs.
If you want to authorize only some identities on a special verbs, you need to filter that in your code, no product allow you that out of the box (maybe Apigee but it's quite expensive).
Upvotes: 1