Skip to content

Documentation on how to incorporate MSAL4J with KeyVault for client credentials? #767

Open
@dylanmccurry-msft

Description

@dylanmccurry-msft

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    SamplesFor issues or enhancements related to our samplesSupportabilityFor issues related to improving the customer support experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions