Skip to content

Instantly share code, notes, and snippets.

@kasunkv
Created June 8, 2019 09:13
Show Gist options
  • Save kasunkv/988c1b259f523391654f4f4fde6a299c to your computer and use it in GitHub Desktop.
Save kasunkv/988c1b259f523391654f4f4fde6a299c to your computer and use it in GitHub Desktop.
AzureServiceTokenProvicer callback
// Creating the Key Vault client
var tokenProvider = new AzureServiceTokenProvider();
var vaultClient = new KeyVaultClient(new KeyVaultClient.AuthenticationCallback(tokenProvider.KeyVaultTokenCallback));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment