A company is deploying a background synchronization service on an external cloud provider's virtual machine. The service requires access to Azure resources. You register the service as an application in Microsoft Entra ID. To comply with corporate security policies, the service must authenticate using a certificate instead of a client secret. Which configuration step must you perform in Microsoft Entra ID to enable this authentication?
- Upload the public key of the certificate to the application registration's certificates and secrets settings.Cevap
- BConfigure a user-assigned managed identity for the external virtual machine and assign the certificate to the identity.
- CCreate an Azure Key Vault access policy that grants GET permissions for certificates to the application registration's service principal.
- DConfigure the application to reference the certificate using the @Microsoft.KeyVault syntax in the local configuration file.
Cevap
Upload the public key of the certificate to the application registration's certificates and secrets settings.
To authenticate an application registration with a certificate, the public key of the certificate must be uploaded to the app registration's Certificates & secrets settings. The client application then uses its private key to sign a client assertion when requesting a token from Microsoft Entra ID, which Entra ID verifies using the uploaded public key.
Adım Adım Çözüm
Anahtar Kavram
Certificate-based authentication for App Registrations and Service Principals in Microsoft Entra ID.