Skip to content

Commit d8438b0

Browse files
committed
Add steps to revoke a SAS token
1 parent 4f1b80a commit d8438b0

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

azure-local/manage/manage-secrets-rotation.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,23 @@ This section describes how you can change the storage account key for the cluste
8484
1. Update the storage account primary key in the ECE store:
8585
8686
```powershell
87-
$SecureSecretText = ConvertTo-SecureString -String "<REPLACE STORAGE ACCOUNT KEY>" -AsPlainText -Force
87+
$SecureSecretText = ConvertTo-SecureString -String "<Replace Storage account key>" -AsPlainText -Force
8888
$WitnessCred = New-Object -Type PSCredential -ArgumentList "WitnessCredential,$SecureSecretText"
8989
Set-ECEServiceSecret -ContainerName WitnessCredential -Credential $WitnessCred
9090
```
9191
92+
## Revoke SAS token for storage account used for Arc VM images
93+
94+
This section descirbes how you can revoke the Shared Access Signature (SAS) token for the storage account used for Arc VM images.
95+
96+
| SAS policy | SAS expired? | Steps to revoke |
97+
|---------|---------|---------|
98+
| Any SAS | Yes | No action is required as the SAS is no longer valid. |
99+
| Ad hoc SAS signed with an account key | No | [Manually rotate or regenerate Storage account key](/azure/storage/common/storage-account-keys-manage?tabs=azure-portal#manually-rotate-access-keys) used to create SAS. |
100+
| Ad hoc SAS signed with a user delegation key | No | Revoke user delegation key or change role assignments, see [Revoke a user delegation SAS](/rest/api/storageservices/create-user-delegation-sas#revoke-a-user-delegation-sas). |
101+
| SAS with stored access policy | No | Update the expiration time to a past date or time, or delete the stored access policy, see [Modify or revoke a stored access policy](/rest/api/storageservices/define-stored-access-policy#modify-or-revoke-a-stored-access-policy). |
102+
103+
For more details, see [Revoke a SAS](/rest/api/storageservices/create-service-sas#revoke-a-sas).
92104
93105
## Change deployment service principal
94106

0 commit comments

Comments
 (0)