Set variables and fetch the account key
Name everything once so every later command reads the same values. The key authenticates the blob commands that follow.
RESOURCE_GROUP=$(az group list --query "[0].name" -o tsv) STORAGE_ACCOUNT="nautilusst171972291" CONTAINER_NAME="nautilus-blob-171972291" BACKUP_DIR="/opt/${CONTAINER_NAME}" ACCOUNT_KEY=$(az storage account keys list \ --account-name $STORAGE_ACCOUNT \ --resource-group $RESOURCE_GROUP \ --query "[0].value" -o tsv)
- Sign in at portal.azure.com.
- Open nautilusst171972291 → Security + networking → Access keys.
- Click Show next to key1 and copy it. You'll need it for the CLI steps.