File tree Expand file tree Collapse file tree 1 file changed +32
-1
lines changed Expand file tree Collapse file tree 1 file changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ description: This article describes how to manage internal secret rotation on Az
4
4
author : alkohli
5
5
ms.author : alkohli
6
6
ms.topic : how-to
7
- ms.date : 02/03 /2025
7
+ ms.date : 02/11 /2025
8
8
ms.service : azure-local
9
9
---
10
10
@@ -59,6 +59,37 @@ WARNING: Please close this session and log in again.
59
59
PS C:\Users\MGMT>
60
60
```
61
61
62
+ ## Change cluster witness storage account key
63
+
64
+ This section describes how you can change the storage account key for the cluster witness storage account.
65
+
66
+ 1 . Sign in to one of the Azure Local nodes using deployment user credentials.
67
+
68
+ 1 . Configure the witness quorum using the secondary storage account key:
69
+
70
+ ``` powershell
71
+ Set-ClusterQuorum -CloudWitness -AccountName <storage account name> -AccessKey <storage account secondary key>
72
+ ```
73
+
74
+ 1. Rotate the storage account primary key.
75
+
76
+ 1. Configure the witness quorum using the rotated storage account key:
77
+
78
+ ```powershell
79
+ Set-ClusterQuorum -CloudWitness -AccountName <storage account name> -AccessKey <storage account primary key>
80
+ ```
81
+
82
+ 1. Rotate the storage account secondary key.
83
+
84
+ 1. Update the storage account primary key in the ECE store:
85
+
86
+ ```powershell
87
+ $SecureSecretText = ConvertTo-SecureString -String "<REPLACE STORAGE ACCOUNT KEY>" -AsPlainText -Force
88
+ $WitnessCred = New-Object -Type PSCredential -ArgumentList "WitnessCredential,$SecureSecretText"
89
+ Set-ECEServiceSecret -ContainerName WitnessCredential -Credential $WitnessCred
90
+ ```
91
+
92
+
62
93
## Change deployment service principal
63
94
64
95
This section describes how you can change the service principal used for deployment.
You can’t perform that action at this time.
0 commit comments