【发布时间】:2016-12-13 10:00:30
【问题描述】:
我想在我的 .NET 应用程序中使用 Always Encrypted SQL 2016 DB 和 Azure Key Vault 来存储加密密钥。到目前为止,我一直在关注这篇文章: https://blogs.msdn.microsoft.com/sqlsecurity/2015/11/10/using-the-azure-key-vault-key-store-provider-for-always-encrypted/
但是当我到达文章中提供的这行代码时,我收到了一个异常:
SqlColumnEncryptionAzureKeyVaultProvider azureKeyVaultProvider =
new SqlColumnEncryptionAzureKeyVaultProvider(GetToken);
例外是:
Additional information: Method not found: 'Void Microsoft.Azure.KeyVault.KeyVaultClient..ctor(AuthenticationCallback)'.
我检查了我的参考资料,一切似乎都已到位。 GetToken认证回调方法也有。
有人可以帮忙吗?谢谢。
【问题讨论】:
-
解决方法请看我下面的回答
标签: c# azure encryption azure-keyvault always-encrypted