File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -300,7 +300,8 @@ New-AzStorageAccount -ResourceGroupName $resourceGroup `
300
300
-Location $location `
301
301
-SkuName Standard_RAGRS `
302
302
-Kind StorageV2 `
303
- -AllowBlobPublicAccess $false
303
+ -AllowBlobPublicAccess $false `
304
+ -MinimumTlsVersion TLS1_2
304
305
```
305
306
306
307
To create an account with Azure DNS zone endpoints (preview), follow these steps:
@@ -333,6 +334,7 @@ $account = New-AzStorageAccount -ResourceGroupName $rgName `
333
334
-Location <location> `
334
335
-Kind StorageV2 `
335
336
-AllowBlobPublicAccess $false `
337
+ -MinimumTlsVersion TLS1_2 `
336
338
-DnsEndpointType AzureDnsZone
337
339
338
340
$account.PrimaryEndpoints
@@ -370,6 +372,7 @@ az storage account create \
370
372
--location eastus \
371
373
--sku Standard_RAGRS \
372
374
--kind StorageV2 \
375
+ --min-tls-version TLS1_2 \
373
376
--allow-blob-public-access false
374
377
```
375
378
@@ -386,6 +389,8 @@ az storage account create \
386
389
--name <account-name> \
387
390
--resource-group <resource-group> \
388
391
--location <location> \
392
+ --min-tls-version TLS1_2 \
393
+ --allow-blob-public-access false \
389
394
--dns-endpoint-type AzureDnsZone
390
395
```
391
396
You can’t perform that action at this time.
0 commit comments