Question 353:
Whizlabs needs to enable the Key Vault access for their web application. They just run the following Azure CLI command.
az webapp identity assign --resource-group wzlabsRG --name wlwebapp
And got the following result:
<pre class="brush:java;">{- Finished ..
"principalId": "adb209fe-d414-4232-b954-5cc304071419",
"tenantId": "804c1304-f9a3-5070-89bb-433093104609",
"type": "SystemAssigned",
"userAssignedIdentities": null
}</pre>
WhizLabs is ready to assign permissions to the vault for their webapp:
az keyvault set-policy --secret-permissions get list --name wzlKV --object-id <SLOT 1>
What value should they use for the <SLOT 1> ?
Answer options:
A.tenantId B.subscriptionId C.principalId D.applicationId E.keyvaultId