Set-AzureRmKeyVaultAccessPolicy提供权限错误时该怎么办?

时间:2018-07-21 21:30:17

标签: azure-keyvault

我正在通过The Azure Key Vault Client samples

工作

在GetAppConfigSettings.ps1中有

    # Specify full privileges to the vault for the application
Write-Host "Setting access policy"
Set-AzureRmKeyVaultAccessPolicy -VaultName $vaultName `
    -ObjectId $servicePrincipal.Id `
    -PermissionsToKeys all `
    -PermissionsToSecrets all `
    -PermissionsToCertificate all `

运行时,出现以下警告

WARNING: The 'all' permission will be removed in May 2018 and does not include the 'purge' permission.
 'Purge' permission must be explicitly set.

[更新]

PM>获取帮助Set-AzureRmKeyVaultAccessPolicy-在线

带我去the help,但看不到有关如何处理更改的信息。

0 个答案:

没有答案