I am using Azure Client SDK (azure-security-keyvault-certificates) to manage certificates in the Azure Key Vault. The certificate was uploaded with private key and complete certificate chain. I am using CertificateClient to retrieve the certificate :
https://docs.microsoft.com/en-us/java/api/com.azure.security.keyvault.certificates.certificateclient.getcertificate?view=azure-java-stable#com_azure_security_keyvault_certificates_CertificateClient_getCertificate_java_lang_String_
But this returns KeyVaultCertificate which only contains the public certificate and not the certificate chain. How can we export the CA Certifiacte Chain as well using the SDK.
Note : If I export the same certificate from Azure UI Portal, I can get the complete chain.
