You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You're right - we do not allow multiple quotas on the same path. Only a single rate limit quota can apply to a given request, so we do not allow you to make multiple quotas for the same path as a result.
Ultimately, if you're trying to make two quotas for the same path where one has a limit of 50 and another has a limit of 500 within the same interval, the second quota is obsolete.
The fix you posted was to prevent the creation of two quotas with the same factors, i.e. would result in creating a situation where there wasn't a unique quota for a single request.
In other words, this is expected behaviour and not a bug. I hope that makes sense!
I'm going to close based on this explanation - feel free to ask if things are unclear, though.
Describe the bug
The /sys/quotas/rate-limit endpoint does not allow multiple rate-limit configurations with the same path.
To Reproduce
curl --header "X-Vault-Token: ..." --request POST http://127.0.0.1:8200/v1/sys/namespaces/ns1
Expected behavior
I was expecting status
204
.Environment:
Vault server configuration file(s):
Additional context
Somebody has seen this issue and a fix has been applied. I guess the fix needs more attention.
The text was updated successfully, but these errors were encountered: