[英]How to get Azure storage account Infrastructure encryption status in powershell
[英]Azure-Powershell Enable File Service Encryption on storage account
在 Powershell 中.. 我如何能够创建和/或修改为 Blob 和文件服务启用加密的存储帐户?
我正在使用以下代码启用 Blob 服务加密,但无法弄清楚如何设置文件服务加密。
$storageResult = New-AzureRmStorageAccount -ResourceGroupName $groupName -Name $accountName -Location $location -EnableEncryptionService Blob -Kind $accountKind -SkuName $replicationType
这是在 Azure 文件服务上启用加密的命令:
Set-AzureRmStorageAccount -ResourceGroupName "MyResourceGroup" -AccountName "MyStorageAccount" -EnableEncryptionService "File"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.