Lewati Navigasi

Templat Azure Quickstart saat ini tersedia dalam bahasa Inggris

Azure Storage Account Encryption with customer-managed key

Terakhir diperbarui: 03/05/2022

This template deploys a Storage Account with a customer-managed key for encryption that's generated and placed inside a Key Vault.

Templat Azure Resource Manager ini dibuat oleh anggota komunitas dan bukan oleh Microsoft. Setiap templat Resource Manager dilisensikan kepada Anda berdasarkan perjanjian lisensi oleh pemiliknya, bukan Microsoft. Microsoft tidak bertanggung jawab atas templat Resource Manager yang disediakan dan dilisensikan oleh anggota komunitas dan tidak menyaring keamanan, kompatibilitas, atau performa. Templat Community Resource Manager tidak didukung di bawah program atau layanan dukungan Microsoft apa pun, dan tersedia SEBAGAIMANA ADANYA tanpa jaminan apa pun.

Parameter

Nama Parameter Deskripsi
location The location into which the resources should be deployed.
tenantId The Tenant Id that should be used throughout the deployment.
userAssignedIdentityName The name of the existing User Assigned Identity.
userAssignedIdentityResourceGroupName The name of the resource group for the User Assigned Identity.
keyVaultName The name of the Key Vault.
keyVaultKeyName Name of the key in the Key Vault
keyExpiration Expiration time of the key
storageAccountName The name of the Storage Account

Menggunakan templat

Windows PowerShell

New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deployment
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.storage/storage-blob-encryption-with-cmk/azuredeploy.json
Menginstal dan mengonfigurasi Azure PowerShell

Baris perintah

az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deployment
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.storage/storage-blob-encryption-with-cmk/azuredeploy.json
Menginstal dan Mengonfigurasi Azure Cross-Platform Command-Line Interface