Hi,
I have a requirement to use the Azure Key vault inside a CE plugin. The idea is to get some values that are stored in the Key vault and use it in the Plugin.
I been trying the example below. The Plugin is registered and it cast the error message "Missing AppAuthentications.dll", However, I am referencing the necessary dlls and using ILMerge to merge it with the plugin dll.
var serviceTokenProvider = new AzureServiceTokenProvider();
var keyVaultClient =
new KeyVaultClient(
new KeyVaultClient.AuthenticationCallback(serviceTokenProvider.KeyVaultTokenCallback));
var secretUri ="keyvaulturl";
SecretBundle secretValue;
try
{
secretValue = keyVaultClient.GetSecretAsync(secretUri).Result;