Skip to content

Commit f3f1c37

Browse files
authored
Merge pull request #304565 from swapnilbel/main
Adding readme for turning off key access of cache account.
2 parents c08c640 + e119b3f commit f3f1c37

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: Turn off Key-based access on cache accounts.
3+
description: Learn how to turn off Key-based access on cache accounts.
4+
services: site-recovery
5+
author: swapnilbel
6+
ms.service: azure-site-recovery
7+
ms.topic: concept-article
8+
ms.date: 10/09/2025
9+
ms.author: swbela
10+
11+
# Customer intent: Turn off key-based authentication on cache account used by Azure Site Recovery.
12+
---
13+
14+
# Turn off key based access on cache account
15+
Previously, key-based access was required for cache storage accounts used by Azure Site Recovery. Azure Site Recovery now supports cache accounts with key-based authentication disabled. This article explains how to turn off key-based access without disrupting replication.
16+
17+
## Prerequisites
18+
Before proceeding, ensure the following:
19+
* [Enable Managed Identity on the Recovery Services Vault](/azure/site-recovery/azure-to-azure-how-to-enable-replication-private-endpoints#enable-the-managed-identity-for-the-vault)
20+
21+
* [Grant access to Recovery services vault managed identity to read-write to cache account](/azure/site-recovery/azure-to-azure-how-to-enable-replication-private-endpoints#grant-required-permissions-to-the-vault)
22+
23+
## Turn off key-based access on storage accounts
24+
For higher security of Azure storage, we recommend you to turn off of key-based authentication.
25+
26+
### Scenario 1
27+
If the Recovery Services Vault already has a managed identity enabled, follow the steps in the [Related Content](#related-content).
28+
29+
### Scenario 2
30+
If the vault lacked a managed identity when virtual machines were initially protected, you can add it afterward. Once prerequisites are met, you can safely disable key-based access on the cache account.
31+
32+
33+
> [!NOTE]
34+
> Replication continues without interruption if prerequisites are completed before disabling key-based access. Don't disable and re-enable protection for existing VMs or servers after completing prerequisites.
35+
36+
## Related content
37+
- [Disable shared key authorization on cache accounts](/azure/storage/common/shared-key-authorization-prevent?tabs=portal#disable-shared-key-authorization)

0 commit comments

Comments
 (0)