Hello Abhay Bandhu,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that you have many concerns about Azure Key Vault secret limits and its performance.
Azure Key Vault secret limits.
You will need to understand that previously it was 2,000 transactions per 10 seconds limits, and with increase now, Azure Key Vault service allows 4,000 secret retrieval transactions per 10 seconds for RSA 2,048-bit software keys. This means that the limit is applied per Key Vault instance, not per subscription and there is no strict character limit for secret values, but they are stored as sequences of octets with a maximum size of 25 KB each. https://github.com/MicrosoftDocs/azure-docs/issues/35832 and https://learn.microsoft.com/en-us/azure/key-vault/general/service-limits
About the performance.
If you come across any no throttling or performance degradation in your tests, it could happen because of some reasons such as:
- The system can accommodate temporary spikes in load.
- Throttling might not always be immediately show, especially if your request patterns are not consistently high or they spread out the load.
- The performance optimizations and caching mechanisms can sometimes reduce throttling during high-load tests.
Finally, it is best practices to use Azure monitoring tools to keep track of request rates, latency, and error rates, because it can help you observe actual performance and throttling behavior. Also, implement exponential backoff and retry logic in your application to handle potential throttling gracefully.
Accept Answer
I hope this is helpful! Do not hesitate to let me know if you have any other questions.
** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful ** so that others in the community facing similar issues can easily find the solution.
Best Regards,
Sina Salam