What are managed IDs?
What are system assigned managed IDs (SMIs)?
What are user managed IDs (UMIs)?
What would a SMI be used?
When would a UMI be used?
How do SMIs work with Azure VM?
How do UMIs work with Azure VM?
What role is needed to create or enable a VM with an SMI?
VM Contributor role assignment
What is the command to enable an SMI during creation of VM?
az vm create –resource-group myRG –name myVm –image win2016datacenter –generate-ssh-keys –assign-identity - –role contributor –scope mySub –admin-user username –admin-password pward
What is the command to enable SMI on an existing VM?
az vm identity assign -g myRG -n myVM
What roles are needed to assign a UMI to a VM during its creation?
VM contributor and Managed Identity Operator
Command to create UMI?
az identity create -g myRG -n MyUMI
Command to assign UMI to VM?
az vm create –resource-group myRG –name myVm –image win2016datacenter –generate-ssh-keys –assign-identity MyUMI - –role contributor –scope mySub –admin-user username –admin-password pward
Command to assign UMI to existing UMI?
az vm identity assign -g myRG -n myVM –identities MyUMI
What is DefaultAzureCredentials?
What is the order of auth methods used by DefaultAzureCredentials?
.NET Command to add the Azure identity SDK and code example of initialisation?
What options can we specify for default credentials?
What is ChainedTokenCredential?