Closed LewisGoDeploy closed 4 months ago
Exercise 2 Task 1 Step 3
This command needs "-DisableRbacAuthorization" added onto the end. The inclusion of -DisableRbacAuthorization in this command ensures that the key vault permissions are managed by vault access policies, and not RBAC.
The correct command is:
$kvName = 'az500kv' + $(Get-Random)
$location = (Get-AzResourceGroup -ResourceGroupName 'AZ500LAB10').Location
New-AzKeyVault -VaultName $kvName -ResourceGroupName 'AZ500LAB10' -Location $location -DisableRbacAuthorization
Edit applied.
Exercise 2 Task 1 Step 3
This command needs "-DisableRbacAuthorization" added onto the end. The inclusion of -DisableRbacAuthorization in this command ensures that the key vault permissions are managed by vault access policies, and not RBAC.
The correct command is:
$kvName = 'az500kv' + $(Get-Random)
$location = (Get-AzResourceGroup -ResourceGroupName 'AZ500LAB10').Location
New-AzKeyVault -VaultName $kvName -ResourceGroupName 'AZ500LAB10' -Location $location -DisableRbacAuthorization