If Cloud KMS denies a request because the relevant quota's limit has
been reached, it returns a RESOURCE_EXHAUSTED error. For requests made using
the Cloud KMS REST API, the RESOURCE_EXHAUSTED error has an HTTP
status code of 429. Because Cloud KMS hosting project
quotas are enforced on a per second basis, occasional RESOURCE_EXHAUSTED
errors for HSM or EKM keys can be addressed by retrying the next second.
Recurring RESOURCE_EXHAUSTED errors indicate that your project regularly
exceeds one or more of its quotas. To address this issue, you can try any or all
of the following:
Reduce the rate at which your projects are making requests that use
Cloud KMS resources.
Use separate projects for your resources where appropriate so that multiple
resources aren't sharing the same quotas.
Calling project quotas - If you have a single project which contains
several resources that use the Cloud KMS API at high request
rates, consider moving resources to their own projects so that they do
not share the 60,000 QPM limit.
Hosting project quotas - If you have a single project which contains
Cloud HSM or Cloud EKM keys that support distinct
resources with high QPS rates, consider splitting Cloud KMS
keys into separate projects based on details like their priority or
workload. This way fewer keys share the same Cloud HSM and
Cloud EKM quotas.
Add a backoff mechanism to your client to handle RESOURCE_EXHAUSTED
errors.
Request higher Cloud KMS quotas
In the Trusted Cloud console, go to the API/Service Details page for the
Cloud KMS API.
This page lets you view quota details for the Cloud KMS API.
To request a quota increase for a different project, select the desired
project in the Trusted Cloud console header.
In the list of quotas, select the default or regional quota you wish to
increase, then click Edit Quotas.
In the Quota changes pane, enter the desired limits for the selected
quotas.
In Request description, provide a description of the reason for your
request.
Click Next to continue.
Provide your contact information including Name, Email, and
Phone.
To complete your request, click Submit request.
Once your request is submitted, it is sent to approvers for evaluation. You
will be notified about the status of your request once it has been reviewed.
Cap Cloud KMS usage for a specific project
If you wish to impose a stricter quota on usage of your Cloud KMS
resources, you can choose to set the quota for a given project to a lower limit
than the default. For example, if you have multiple projects whose resources use
Cloud HSM or Cloud EKM keys in the same project, you may
choose to set the Cryptographic requests quota lower on each calling
project to ensure that you do not go over a quota like
HSM symmetric cryptographic requests per region
on the project which hosts those keys.
In the Trusted Cloud console, go to the API/Service Details page for the
Cloud KMS API.
This page lets you view quota details for the Cloud KMS API.
To decrease a quota for a different project, select the desired project in
the Trusted Cloud console header.
In the list of quotas, select the default or regional quota you wish to
decrease, then click Edit Quotas.
In the Quota changes pane, enter the desired limits for the selected
quotas.
Click Next to continue.
If you are reducing a quota by more than 10% of the current limit, a warning
appears. To continue applying a lower quota than the default, click
Confirm. Otherwise, you can click Cancel to go back and choose a new
limit.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-22 UTC."],[],[],null,["# Monitor and adjust Cloud KMS quotas\n\nThis page shows you how to manage your Cloud Key Management Service quotas. For details on\nthe quotas associated with Cloud KMS, see [Quotas](/kms/quotas).\n\nBefore you begin\n----------------\n\nThe following permissions are required to view project quotas:\n\n- `resourcemanager.projects.get`\n- `monitoring.timeSeries.list`\n- `serviceusage.services.list`\n- `serviceusage.quotas.get`\n\nThe `serviceusage.quotas.update` permission is required to change project\nquotas.\n\nFor details about which IAM roles include these permissions, see\n[IAM permissions reference](/iam/docs/permissions-reference).\n\nCheck your Cloud KMS quotas\n---------------------------\n\n1. In the Google Cloud console, go to the **API/Service Details** page for the\n Cloud KMS API.\n\n [Go to Cloud KMS API/Service\n Details](https://console.cloud.google.com/apis/api/cloudkms.googleapis.com/quotas)\n\n This page lets you view quota details for the Cloud KMS API.\n2. To view quotas for a different project, select the desired project in the\n Google Cloud console header.\n\n3. To filter by quota type, click in the **Filter** bar and select **Quota**\n from the properties list, then choose the desired quota.\n\n4. To filter by region, click in the **Filter** bar and select **Dimensions\n (e.g. location):** from the properties list, then enter the desired region\n name.\n\nIf you find you are nearing or exceeding your quotas, you can\n[Request higher Cloud KMS quotas](#increase_quotas).\n\nTroubleshoot quota issues\n-------------------------\n\nIf Cloud KMS denies a request because the relevant quota's limit has\nbeen reached, it returns a `RESOURCE_EXHAUSTED` error. For requests made using\nthe Cloud KMS REST API, the `RESOURCE_EXHAUSTED` error has an HTTP\nstatus code of `429`. Because Cloud KMS hosting project\nquotas are enforced on a *per second* basis, occasional `RESOURCE_EXHAUSTED`\nerrors for HSM or EKM keys can be addressed by retrying the next second.\n\nRecurring `RESOURCE_EXHAUSTED` errors indicate that your project regularly\nexceeds one or more of its quotas. To address this issue, you can try any or all\nof the following:\n\n- Reduce the rate at which your projects are making requests that use\n Cloud KMS resources.\n\n- [Request higher Cloud KMS quotas](#increase_quotas).\n\n- Use separate projects for your resources where appropriate so that multiple\n resources aren't sharing the same quotas.\n\n - Calling project quotas - If you have a single project which contains\n several resources that use the Cloud KMS API at high request\n rates, consider moving resources to their own projects so that they do\n not share the 60,000 QPM limit.\n\n - Hosting project quotas - If you have a single project which contains\n Cloud HSM or Cloud EKM keys that support distinct\n resources with high QPS rates, consider splitting Cloud KMS\n keys into separate projects based on details like their priority or\n workload. This way fewer keys share the same Cloud HSM and\n Cloud EKM quotas.\n\n | **Note:** Creating additional projects as described here may create issues with other quotas, such as your **Projects per user** or **Projects per billing\n | account** quotas. For more information about Google Cloud quotas, see the [Cloud Quotas documentation](/docs/quotas/overview).\n- Add a backoff mechanism to your client to handle `RESOURCE_EXHAUSTED`\n errors.\n\nRequest higher Cloud KMS quotas\n-------------------------------\n\n1. In the Google Cloud console, go to the **API/Service Details** page for the\n Cloud KMS API.\n\n [Go to Cloud KMS API/Service\n Details](https://console.cloud.google.com/apis/api/cloudkms.googleapis.com/quotas)\n\n This page lets you view quota details for the Cloud KMS API.\n2. To request a quota increase for a different project, select the desired\n project in the Google Cloud console header.\n\n3. In the list of quotas, select the default or regional quota you wish to\n increase, then click **Edit Quotas**.\n\n | **Note:** Multiregional and global quotas do not appear in the console. To increase quota for multiregional locations or the global location, make the request for a different region and mention the multiregion in the **Request\n | description**.\n4. In the **Quota changes** pane, enter the desired limits for the selected\n quotas.\n\n5. In **Request description**, provide a description of the reason for your\n request.\n\n6. Click **Next** to continue.\n\n7. Provide your contact information including **Name** , **Email** , and\n **Phone**.\n\n8. To complete your request, click **Submit request**.\n\n Once your request is submitted, it is sent to approvers for evaluation. You\n will be notified about the status of your request once it has been reviewed.\n\nCap Cloud KMS usage for a specific project\n------------------------------------------\n\nIf you wish to impose a stricter quota on usage of your Cloud KMS\nresources, you can choose to set the quota for a given project to a lower limit\nthan the default. For example, if you have multiple projects whose resources use\nCloud HSM or Cloud EKM keys in the same project, you may\nchoose to set the **Cryptographic requests** quota lower on each calling\nproject to ensure that you do not go over a quota like\n**HSM symmetric cryptographic requests per region** on the project which hosts those keys.\n\n1. In the Google Cloud console, go to the **API/Service Details** page for the\n Cloud KMS API.\n\n [Go to Cloud KMS API/Service\n Details](https://console.cloud.google.com/apis/api/cloudkms.googleapis.com/quotas)\n\n This page lets you view quota details for the Cloud KMS API.\n2. To decrease a quota for a different project, select the desired project in\n the Google Cloud console header.\n\n3. In the list of quotas, select the default or regional quota you wish to\n decrease, then click **Edit Quotas**.\n\n4. In the **Quota changes** pane, enter the desired limits for the selected\n quotas.\n\n5. Click **Next** to continue.\n\n If you are reducing a quota by more than 10% of the current limit, a warning\n appears. To continue applying a lower quota than the default, click\n **Confirm** . Otherwise, you can click **Cancel** to go back and choose a new\n limit.\n6. To save your changes, click **Submit request**.\n\n Your new limit is active immediately.\n\nWhat's next\n-----------\n\n- Learn more about [Cloud Quotas](/docs/quotas/overview).\n- For information on how client libraries surface the `RESOURCE_EXHAUSTED` error, see [Client library mapping](/apis/design/errors#client_library_mapping).\n- View [details about Cloud KMS quotas](/kms/quotas)."]]