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:
parent
758982907a
commit
d6031ae87a
1 changed files with 2 additions and 1 deletions
|
|
@ -111,7 +111,8 @@ func (ac Client) CreateStorageAccount(ctx context.Context, resourceGroup, name,
|
||||||
tag.Name: &tag.Value,
|
tag.Name: &tag.Value,
|
||||||
},
|
},
|
||||||
Properties: &armstorage.AccountPropertiesCreateParameters{
|
Properties: &armstorage.AccountPropertiesCreateParameters{
|
||||||
MinimumTLSVersion: common.ToPtr(armstorage.MinimumTLSVersionTLS12),
|
AllowBlobPublicAccess: common.ToPtr(false),
|
||||||
|
MinimumTLSVersion: common.ToPtr(armstorage.MinimumTLSVersionTLS12),
|
||||||
},
|
},
|
||||||
}, nil)
|
}, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue