Rate Limits and Quotas
The Vault Server REST API currently does not have rate limits and quotas. However, if you are using the Vault Gateway to connect to the Vault Server, the gateway itself has rate limits and quotas.
Rate Limits
Rate limits specify a maximum number of requests per 5 minutes.
Scope
All the APIs proxied by the Vault Gateway share one common rate limit.
Violation Notification
If your application exceeds an endpoint’s rate limit, the server returns an HTTP 429 error.
Endpoint Rate Limits
All APIs proxied by the Vault Gateway share a common limit of 40,000 requests per 5 minutes.
Note: This limit is not a service guarantee. Under unusually high traffic across all clients, the accepted request rate may temporarily drop.
Quotas
The Vault Gateway has size limits for the request payload and response payload.
Scope
All the APIs proxied by the Vault Gateway will have the same size limit.
Endpoint Quotas
These quotas limit an endpoint’s resource consumption.
Method |
Endpoint |
Limit Description |
Limit |
Units |
Notification |
|---|---|---|---|---|---|
| GET/POST/etc. | All endpoints | The maximum payload size for a request | 39313920 (~37.5 MB) | bytes | HTTP 500 response |
Quota Violation Notification
The Vault Gateway reports quota violations using various HTTP error responses.
HTTP 500 “Internal Server Error”
When a request payload is too large or requests a resource that is too large, the server returns an HTTP 500 error.