Consul-template + hashicorp vault PKI support for JKS and PKCS#12 keystore and trustore

Hi Team,

I am thinking of using consul-template /vault agent and Hashicorp Vault PKI engine for certificate management where the goal is to achieve auto creation, auto renewal for my K8s based environment. The applications hosted are Java based and the certificates are expected to be in JKS and P12 format. Is there a way to render the keys and certificates from Hashcorp vault PKI with .jks or .p12 format using consul-template?

Thanks in advance!

Thanks