Google Cloud API (sheet, slides) Quotas with Service Account

102 Views Asked by At

I wanna switch to a service account to remove access token duration.

However, I can't find the quotas here. Do quotas for Service Account are the same than user account and (actually 60) requests per user per minute ?

1

There are 1 best solutions below

4
On

Service accounts are under the same quota limitations as standard Oauth2. A service account is still a user who is logging in so there for it will still be limited to the 60 requests per user per minute. Service accounts can actually have worse quota usage as sometimes it appears that a service account is the same user all the time even if it is preforming actions on behalf of different users. thats why you should remember to tell it which user to act as.

Using a service account will also not remove access token duration. It just gets a new access token when ever it needs the same as standard oauth2 does using a refresh token.