Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.36 KB

File metadata and controls

45 lines (28 loc) · 1.36 KB

Create an Azure Storage Account

README.md

Prerequisites

This example assumes you have previously completed the following example:

  1. Create an Azure Resource Group

Create the Azure Storage Account

To create the Azure Storage Account use the following command lines:

  export STORAGE_ACCOUNT_NAME=joazst$RANDOM

   az storage account create \
    --name $STORAGE_ACCOUNT_NAME \
    --resource-group $RESOURCE_GROUP \
    --sku Standard_LRS \
    --kind StorageV2

  export STORAGE_ACCOUNT_CONNECTION_STRING=$(az storage account show-connection-string --resource-group $RESOURCE_GROUP --name $STORAGE_ACCOUNT_NAME --output tsv)

Cleanup

Do NOT forget to remove the resources once you are done running the example.

1m