azure_preview_modules icon indicating copy to clipboard operation
azure_preview_modules copied to clipboard

The lookup plugin azure_keyvault_secret is very slow on a non-Azure VM

Open SuSaiGit opened this issue 4 years ago • 1 comments

It looks like these codes are used to determine whether it is running on an Azure VM https://github.com/Azure/azure_preview_modules/blob/master/lookup_plugins/azure_keyvault_secret.py#L102 But it caused a performance issue on non-Azure VM. The user has to wait until the HTTP request timeout

SuSaiGit avatar Nov 24 '20 18:11 SuSaiGit

This is a really big problem for us. Normally this response should return really quickly so at minimum, please set a timeout of e.g. 5 seconds. Currently a simple lookup is taking 2 minutes!

lukos avatar Jun 01 '23 14:06 lukos