MicrosoftLearning / AZ500-AzureSecurityTechnologies

Microsoft Azure Security Technologies
https://microsoftlearning.github.io/AZ500-AzureSecurityTechnologies/
MIT License
858 stars 827 forks source link

Lab 7 - Command amendment #419

Closed LewisGoDeploy closed 4 months ago

LewisGoDeploy commented 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

serling1962 commented 4 months ago

Edit applied.