Open
Description
MSAL client type
Confidential
Problem Statement
I have integrated KeyVault with my application, and am able to obtain a KeyVaultCertificateWithPolicy
. The corresponding object has a method for getCer()
which returns a byte array representing the DER format of the certificate.
It's not clear to me how I can use this KeyVaultCertificateWithPolicy
object to create an instance of a ClientCertificate
credential using the ClientCredentialFactory.createFromCertificate()
method.
How do I build an instance of a ConfidentialClientApplication using a certificate from KeyVault?
Proposed solution
Please document required steps for instantiating a confidential client application with a certificate downloaded from keyvault.
Alternatives
n/a