https://pulumi.com logo
Title
e

echoing-vr-57917

06/28/2021, 12:38 PM
Is this even possible, adding already existing crt files to an azure keyvault?
b

billowy-army-68599

06/28/2021, 12:54 PM
it certainly should be, you'd read the files using whatever file read lib from your programming language, then store the contents here: https://www.pulumi.com/docs/reference/pkg/azure-native/keyvault/
e

echoing-vr-57917

06/28/2021, 12:58 PM
I'm using python, so I read the file and add the file content to one of the resource proprieties
Looking at the secret resource, I would assume that the value propriety would be the one I should assign the file content
The thing is, for the keyvault API, there's a corresponding Azure secret resource and a corresponding Azure key resource, but no corresponding certificate resource