Our application stores a lot of secrets in Azure KeyValut (dozens of secrets). Upon initiating the application we need to load all secrets into memory. Currently, we fetch secrets one by one. It works but takes an awful amount of time. I was wondering if there is a way to get many secrets at once or, maybe, batch multiple requests into a single HTTP request. azure.keyvault.secrets.SecretClient
doesn't seem to provide any methods to achieve this.
There is a REST API method https://docs.microsoft.com/en-us/rest/api/keyvault/getsecrets/getsecrets#secretlistresult but it only enumerates secrets without giving me their values.
Any advice is appreciated.