LinuxCommandLibrary

az-storage

Manage Azure Cloud Storage resources.

TLDR

Create a storage account

$ az storage account create --resource-group [group_name] --name [account_name] -l [location] --sku [account_sku]
copy


List all storage accounts in a resource group
$ az storage account list --resource-group [group_name]
copy


List the access keys for a storage account
$ az storage account keys list --resource-group [group_name] --name [account_name]
copy


Delete a storage account
$ az storage account delete --resource-group [group_name] --name [account_name]
copy


Update the minimum tls version setting for a storage account
$ az storage account update --min-tls-version [TLS1_0|TLS1_1|TLS1_2] --resource-group [group_name] --name [account_name]
copy

Copied to clipboard