Skip to content

Commit bfffb2d

Browse files
fix: Merge pull request #232 from microsoft/psl-bug-14480
fix: storage permission issue
2 parents a67c074 + d5bf2b4 commit bfffb2d

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

infra/deploy_ai_foundry.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ resource storage 'Microsoft.Storage/storageAccounts@2022-09-01' = {
261261
accessTier: 'Hot'
262262
allowBlobPublicAccess: false
263263
allowCrossTenantReplication: false
264-
allowSharedKeyAccess: true
264+
allowSharedKeyAccess: false
265265
encryption: {
266266
keySource: 'Microsoft.Storage'
267267
requireInfrastructureEncryption: false

infra/deploy_azure_function_charts.bicep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ resource storageAccount 'Microsoft.Storage/storageAccounts@2023-05-01' = {
2727
kind: 'StorageV2'
2828
properties: {
2929
accessTier: 'Hot'
30+
allowSharedKeyAccess: false
3031
}
3132
}
3233

infra/deploy_azure_function_rag.bicep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ resource storageAccount 'Microsoft.Storage/storageAccounts@2023-05-01' = {
3939
kind: 'StorageV2'
4040
properties: {
4141
accessTier: 'Hot'
42+
allowSharedKeyAccess: false
4243
}
4344
}
4445

infra/deploy_storage_account.bicep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ resource storageAccounts_resource 'Microsoft.Storage/storageAccounts@2022-09-01'
2626
properties: {
2727
minimumTlsVersion: 'TLS1_2'
2828
allowBlobPublicAccess: false
29+
allowSharedKeyAccess: false
2930
isHnsEnabled: true
3031
networkAcls: {
3132
bypass: 'AzureServices'

0 commit comments

Comments
 (0)