upload/azure: turn off public access on storage accounts

Users might have compliance policies on their azure accounts which
forbid public access on storage accounts.
This commit is contained in:
Sanne Raymaekers 2024-09-06 14:51:35 +02:00 committed by Achilleas Koutsou
parent 758982907a
commit d6031ae87a

View file

@ -111,7 +111,8 @@ func (ac Client) CreateStorageAccount(ctx context.Context, resourceGroup, name,
tag.Name: &tag.Value,
},
Properties: &armstorage.AccountPropertiesCreateParameters{
MinimumTLSVersion: common.ToPtr(armstorage.MinimumTLSVersionTLS12),
AllowBlobPublicAccess: common.ToPtr(false),
MinimumTLSVersion: common.ToPtr(armstorage.MinimumTLSVersionTLS12),
},
}, nil)
if err != nil {