From 8dff42c8a70460e1efcca1342f30e24096b98f65 Mon Sep 17 00:00:00 2001 From: saimachi Date: Wed, 15 May 2024 10:30:13 -0400 Subject: [PATCH] Disable shared key access. --- deploy/quick-start/infra/shared/storage.bicep | 2 +- deploy/standard/bicep/modules/storageAccount.bicep | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/quick-start/infra/shared/storage.bicep b/deploy/quick-start/infra/shared/storage.bicep index 097b7eafbd..c599d49d7e 100644 --- a/deploy/quick-start/infra/shared/storage.bicep +++ b/deploy/quick-start/infra/shared/storage.bicep @@ -20,7 +20,7 @@ resource storage 'Microsoft.Storage/storageAccounts@2023-01-01' = { isHnsEnabled: true minimumTlsVersion: 'TLS1_2' supportsHttpsTrafficOnly: true - allowSharedKeyAccess: false + allowSharedKeyAccess: true } } diff --git a/deploy/standard/bicep/modules/storageAccount.bicep b/deploy/standard/bicep/modules/storageAccount.bicep index 4a61988446..55fe2ba350 100644 --- a/deploy/standard/bicep/modules/storageAccount.bicep +++ b/deploy/standard/bicep/modules/storageAccount.bicep @@ -105,7 +105,7 @@ resource main 'Microsoft.Storage/storageAccounts@2023-01-01' = { accessTier: 'Hot' allowBlobPublicAccess: false allowCrossTenantReplication: true - allowSharedKeyAccess: false + allowSharedKeyAccess: true defaultToOAuthAuthentication: true isHnsEnabled: enableHns isNfsV3Enabled: false