How can I create an X509Certificate2 object from an Azure Key Vault KeyBundle
问题 I am using Azure Key Vault to protect our keys and secrets, but I am unsure how I can use the KeyBundle I retrieve using the .net SDK. How can I create an X509Certificate2 object? 回答1: When you import / create a certificate in KeyVault, 3 entities are created: Certificate - contains all the relevant details about the certificate, including its public part (i.e. public key, validity period, thumbprint etc.) Secret - contains the private key (which is the private part of the certificate) in