Skip to content

Commit 81de904

Browse files
msmbaldwinCopilot
andcommitted
Add deprecation notice to storage-keys-sas-tokens-code.md
The underlying sharelink SDK sample was retired (azure-sdk-for-net PR #57907) as KV-managed storage accounts are a legacy feature. Added CAUTION banner directing users to Azure RBAC instead. Removed dead ShareLink sample link. Co-authored-by: Copilot <[email protected]>
1 parent 3d8a787 commit 81de904

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

articles/key-vault/secrets/storage-keys-sas-tokens-code.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ ms.service: azure-key-vault
66
ms.subservice: secrets
77
author: msmbaldwin
88
ms.author: mbaldwin
9-
ms.date: 01/30/2026
9+
ms.date: 04/09/2026
1010

1111
ms.devlang: csharp
1212
ms.custom: devx-track-csharp, devx-track-dotnet
1313
# Customer intent: As a developer I want storage credentials and SAS tokens to be managed securely by Azure Key Vault.
1414
---
1515
# Create SAS definition and fetch shared access signature tokens in code (legacy)
1616

17-
You can manage your storage account with shared access signature (SAS) tokens stored in your key vault. For more information, see [Grant limited access to Azure Storage resources using SAS](/azure/storage/common/storage-sas-overview).
17+
> [!CAUTION]
18+
> Key Vault-managed storage account keys and SAS token generation is a **legacy feature that is deprecated**. The underlying SDK sample has been retired because this approach goes against current Microsoft security guidance. Instead, use [Azure role-based access control (Azure RBAC)](/azure/storage/blobs/authorize-access-azure-active-directory) to secure your storage account. For more information, see [Authorize access to data in Azure Storage](/azure/storage/common/authorize-data-access).
1819
19-
> [!NOTE]
20-
> We recommend using [Azure role-based access control (Azure RBAC)](/azure/storage/blobs/authorize-access-azure-active-directory) to secure your storage account for superior security and ease of use over Shared Key authorization.
20+
You can manage your storage account with shared access signature (SAS) tokens stored in your key vault. For more information, see [Grant limited access to Azure Storage resources using SAS](/azure/storage/common/storage-sas-overview).
2121

22-
This article provides samples of .NET code that creates a SAS definition and fetches SAS tokens. See our [ShareLink](/samples/azure/azure-sdk-for-net/share-link/) sample for full details including the generated client for Key Vault-managed storage accounts. For information on how to create and store SAS tokens, see [Manage storage account keys with Key Vault and the Azure CLI](overview-storage-keys.md) or [Manage storage account keys with Key Vault and Azure PowerShell](overview-storage-keys-powershell.md).
22+
This article provides samples of .NET code that creates a SAS definition and fetches SAS tokens. For information on how to create and store SAS tokens, see [Manage storage account keys with Key Vault and the Azure CLI](overview-storage-keys.md) or [Manage storage account keys with Key Vault and Azure PowerShell](overview-storage-keys-powershell.md).
2323

2424
## Code samples
2525

0 commit comments

Comments
 (0)