Azure Storage

Azure 存储

常用命令

# 查询 Azure 存储连接字符串
az storage account show-connection-string \
    --resource-group RESOURCE_GROUP \
    --query connectionString \
    --name STORAGE_NAME

az storage container list \
    --account-name STORAGE_NAME

开发 

# node 应用添加 storage 库
npm install @azure/storage-blob --save

# .net Core 应用添加 storage 库
dotnet add package Azure.Storage.Blobs

最佳实践

使用 Key Vault 可自动轮换 Azure 存储 Access Key。

教程

Author: njun
njun's picture
Updated: 2020/12/20