'How to create a azure storage account with minmum TLS version as 1.1 using python post api
I am trying to create an Azure storage account using the python Post API method. I am able to create but unable to find in any azure doc on how to add minimum tls version in the code. I attached the JSON Payload for reference.
payload = "{\n \"sku\": {\n \"name\": \"Standard_GRS\"\n },\n \"kind\": \"StorageV2\",\n \"location\": \"eastus\",\n }"
storage_url = "https://management.azure.com/subscriptions/123/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/storageName?api-version=2018-02-01"
value1 = json.dumps(payload)
Anyone can just help in Payload for adding minimum tls version as 1.0 or 1.1?
Solution 1:[1]
As per the official documentation here - Storage Accounts - Create, you need to add - properties.minimumTlsVersion to your payload. Default is TLS 1.0.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Yash Tamakuwala |

