Proposed Pull Request Change

title titleSuffix description services author ms.service ms.topic ms.date ms.author ms.reviewer ms.subservice ms.devlang ms.custom
Configure Transport Layer Security (TLS) for a client application Azure Storage Configure a client application to communicate with Azure Storage using a minimum version of Transport Layer Security (TLS). storage normesta azure-storage how-to 10/23/2026 normesta fryu storage-common-concepts csharp devx-track-csharp, devx-track-azurepowershell, engagement-fy23
📄 Document Links
GitHub View on GitHub Microsoft Learn View on Microsoft Learn
⚠ Content Truncation Detected
The generated rewrite appears to be incomplete.
Original lines: -
Output lines: -
Ratio: -
Raw New Markdown
Generating updated version of doc...
Rendered New Markdown
Generating updated version of doc...
+0 -0
+0 -0
--- title: Configure Transport Layer Security (TLS) for a client application titleSuffix: Azure Storage description: Configure a client application to communicate with Azure Storage using a minimum version of Transport Layer Security (TLS). services: storage author: normesta ms.service: azure-storage ms.topic: how-to ms.date: 10/23/2026 ms.author: normesta ms.reviewer: fryu ms.subservice: storage-common-concepts ms.devlang: csharp ms.custom: devx-track-csharp, devx-track-azurepowershell, engagement-fy23 # Customer intent: "As a developer, I want to configure my client application to use a minimum version of Transport Layer Security (TLS) so that I can ensure secure communication with Azure Storage and avoid request failures." --- # Configure Transport Layer Security (TLS) for a client application :heavy_check_mark: **Applies to:** Azure Blob Storage, Azure Data Lake Storage, Azure Queue Storage, Azure Table Storage :heavy_multiplication_x: **Doesn't apply to:** Azure Files (`Microsoft.Storage` or `Microsoft.FileShares`) For security purposes, an Azure Storage account can require that clients use a minimum version of Transport Layer Security (TLS) to send requests. Calls to Azure Storage fail if the client uses a version of TLS that's lower than the minimum required version. For example, if a storage account requires TLS 1.2, a request sent by a client that uses TLS 1.1 fails. This article describes how to configure a client application to use a particular version of TLS. For information about how to configure a minimum required version of TLS for an Azure Storage account, see [Configure minimum required version of Transport Layer Security (TLS) for a storage account](transport-layer-security-configure-minimum-version.md). For Azure Files, see [FileREST encryption in transit](../files/files-encryption-in-transit.md#filerest). Storage accounts that contain Azure file shares use the same TLS requirements, but the Azure Files article describes considerations for Azure Files. ## Configure the client TLS version To send a request with a particular version of TLS, the operating system must support that version. The following examples show how to set the client's TLS version to 1.2 from PowerShell or .NET. The .NET Framework used by the client must support TLS 1.2. For more information, see [Support for TLS 1.2](/dotnet/framework/network-programming/tls#support-for-tls-12). # [PowerShell](#tab/powershell) The following sample shows how to enable TLS 1.2 in a PowerShell client: ```powershell # Set the TLS version used by the PowerShell client to TLS 1.2. [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; # Create a new container. $storageAccount = Get-AzStorageAccount -ResourceGroupName $rgName -Name $accountName $ctx = $storageAccount.Context New-AzStorageContainer -Name "sample-container" -Context $ctx ``` # [.NET](#tab/dotnet) The following sample shows how to enable TLS 1.2 in a .NET client by using version 12 of the Azure Storage client library: :::code language="csharp" source="~/azure-storage-snippets/blobs/howto/dotnet/dotnet-v12/Networking.cs" id="Snippet_ConfigureTls12"::: --- ## Verify the TLS version used by a client To verify that the client used the specified version of TLS to send a request, use [Fiddler](https://www.telerik.com/fiddler) or a similar tool. Open Fiddler to start capturing client network traffic, and then execute one of the examples in the previous section. Look at the Fiddler trace to confirm that the correct version of TLS was used to send the request, as shown in the following image. :::image type="content" source="media/transport-layer-security-configure-client-version/fiddler-trace-tls-version.png" alt-text="Screenshot showing Fiddler trace that indicates TLS version used on request"::: ## Next steps - [Configure minimum required version of Transport Layer Security (TLS) for a storage account](transport-layer-security-configure-minimum-version.md) - [Security recommendations for Blob storage](../blobs/security-recommendations.md)
Success! Branch created successfully. Create Pull Request on GitHub
Error: