upload/azure: set storage account minimum TLS version to 1.2
This commit is contained in:
parent
828d82e871
commit
adc07299a8
1 changed files with 3 additions and 0 deletions
|
|
@ -110,6 +110,9 @@ func (ac Client) CreateStorageAccount(ctx context.Context, resourceGroup, name,
|
|||
Tags: map[string]*string{
|
||||
tag.Name: &tag.Value,
|
||||
},
|
||||
Properties: &armstorage.AccountPropertiesCreateParameters{
|
||||
MinimumTLSVersion: common.ToPtr(armstorage.MinimumTLSVersionTLS12),
|
||||
},
|
||||
}, nil)
|
||||
if err != nil {
|
||||
return fmt.Errorf("sending the create storage account request failed: %v", err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue