quarkus-vault icon indicating copy to clipboard operation
quarkus-vault copied to clipboard

Add PEM_BUNDLE to pki DataFormat enum

Open aaronz-vipaso opened this issue 1 year ago • 1 comments

I would like to sign a certificate with the PKI engine and use the pem_bundle format. Currently, the DataFormat enum only contains der and pem.

Is it only required to add another entry in io.quarkus.vault.pki.DataFormat to solve this?

aaronz-vipaso avatar Nov 07 '23 14:11 aaronz-vipaso

@aaronz-vipaso That would be 1 thing that needs to happen. Additionally the CertificateData class would need to be updated to be able to handle that format and the API requests would need to be able to select that format (passed in from the model class GenerateCertificateOptions) and then be able to process the resultant data into a CertificateData.

kdubb avatar Nov 07 '23 16:11 kdubb

@aaronz-vipaso This is now doable with the new client introduced in 4.+

kdubb avatar Sep 28 '24 03:09 kdubb