--- title: "Example demonstrating use of Azure Key Vault provider with Always Encrypted | Microsoft Docs" ms.custom: "" ms.date: 10/18/2019 ms.reviewer: v-kaywon ms.prod: sql ms.prod_service: connectivity ms.technology: connectivity ms.tgt_pltfrm: "" ms.topic: tutorial author: karinazhou ms.author: v-jizho2 --- # Example demonstrating use of Azure Key Vault provider with Always Encrypted [!INCLUDE [tsql-appliesto-ssver15-xxxx-xxxx-xxx-winonly](../../../includes/tsql-appliesto-ssver15-xxxx-xxxx-xxx-winonly.md)] [!INCLUDE [appliesto-netfx-netcore-xxxx-md](../../../includes/appliesto-netfx-netcore-xxxx-md.md)] This example demonstrates use of Azure Key Vault Provider when accessing encrypted columns. [!code-csharp [AKVProvider Example#1](~/../sqlclient/doc/samples/AzureKeyVaultProviderExample.cs#1)] ## See Also - [Example demonstrating use of Azure Key Vault provider with Always Encrypted enabled with Secure Enclaves](azure-key-vault-enclave-example.md) - [Tutorial: Develop a .NET application using Always Encrypted with secure enclaves](tutorial-always-encrypted-enclaves-develop-net-apps.md) - [Using Always Encrypted with the Microsoft .NET Data Provider for SQL Server](sqlclient-support-always-encrypted.md)