As the title says I'm currently having an issue where the following piece of code take 20+ seconds to execute.
var azureServiceTokenProvider = new AzureServiceTokenProvider();
var keyVaultClient = new KeyVaultClient(
new KeyVaultClient.AuthenticationCallback(azureServiceTokenProvider.KeyVaultTokenCallback));
var secret = await keyVaultClient.GetSecretAsync(vaultBaseUrl, secretName).ConfigureAwait(false);
The Secret is read eventually but I feel this is an excessive amount of time to wait. I have yet to find anyone with a similar issue.
First time using Key Vault, am I possibly not accessing it correctly?