Skip to content

fix: apply rate limiting to /secrets/tokens/ endpoint#842

Merged
nimish-ks merged 1 commit intomainfrom
fix/rate-limit-secrets-tokens
Apr 10, 2026
Merged

fix: apply rate limiting to /secrets/tokens/ endpoint#842
nimish-ks merged 1 commit intomainfrom
fix/rate-limit-secrets-tokens

Conversation

@nimish-ks
Copy link
Copy Markdown
Member

@nimish-ks nimish-ks commented Apr 4, 2026

Summary

  • Adds PlanBasedRateThrottle to the /secrets/tokens/ REST API endpoint, which was previously unthrottled while all other secrets-related endpoints already enforced plan-based rate limiting.

Test plan

  • Verify /secrets/tokens/ returns 429 Too Many Requests when rate limit is exceeded
  • Verify normal requests still succeed under the limit

This endpoint was missing the PlanBasedRateThrottle that other
secrets-related REST API paths already enforce.
@nimish-ks nimish-ks merged commit 06626e6 into main Apr 10, 2026
7 checks passed
@nimish-ks nimish-ks deleted the fix/rate-limit-secrets-tokens branch April 10, 2026 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants