code: public CertificateBundle importCertificate(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map<String, String> tags) {
          return importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate, password, certificatePolicy, certificateAttributes, tags).toBlocking().single().body();
      }
docs: Imports a certificate into a specified key vault.
  Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates. This operation requires the certificates/import permission.
  
  @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
  @param certificateName The name of the certificate.
  @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key.
  @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption.
  @param certificatePolicy The management policy for the certificate.
  @param certificateAttributes The attributes of the certificate (optional).
  @param tags Application specific metadata in the form of key-value pairs.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws KeyVaultErrorException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the CertificateBundle object if successful.