Make Always Encrypted Azure Key Vault Provider .NET Core Compatible
See original GitHub issueI’m trying to use the Always Encrypted feature of SQL Server 2016 with .NET Core and seems like it can not be used (yet). When trying to import the Microsoft.SqlServer.Management.AlwaysEncrypted.AzureKeyVaultProvider
from Nuget, I get an error stating it is not compatible:
Package Microsoft.SqlServer.Management.AlwaysEncrypted.AzureKeyVaultProvider 1.0.201501028 is not compatible with netstandard1.6 (.NETStandard,Version=v1.6)
Looks like it is dependent on the old Microsoft.Azure.KeyVault 1.0.0, which is incompatible. However the latest version of Microsoft.Azure.KeyVault is 2.0.6, which is compatible with NetStandard. Is it possible to update your provider library to use Microsoft.Azure.KeyVault 2.0.6 so that it is .NET Core compatible?
Issue Analytics
- State:
- Created 7 years ago
- Comments:13 (2 by maintainers)
Top Results From Across the Web
Example demonstrating use of Azure Key Vault provider ...
This example shows you how you can use the Azure Key Vault provider with Always Encrypted with secure enclaves. The script will create...
Read more >SQL Server Always Encrypted with .NET Core not compatible
Always Encrypted is now supported in .Net Core 3.1 LTS. You have to use the Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider ...
Read more >Full Tutorial on using Always Encrypted with Azure Key ...
Configure your Azure account: Create an Azure Key Vault (AKV) bucket (or use an existing one); Create an Azure Active Directory (AD) dedicated ......
Read more >Microsoft.Data.SqlClient.AlwaysEncrypted. ...
Always Encrypted Azure Key Vault Provider for Microsoft.Data.SqlClient. This library enables .NET Core and .NET Framework applications to ...
Read more >SQL Server Always Encrypted with .NET Core not compatible ...
For the Key Vault provider, you need to use Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider instead. Kexy Biscuit 350.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just FYI, Microsoft.Data.SqlClient public preview was announced Monday and adds Always Encrypted support against .NET Core 2.1+. This should enable the team that owns Microsoft.SqlServer.Management.AlwaysEncrypted.AzureKeyVaultProvider to add support for .NET Core.
@David-Engel Hallelujah!