https://pulumi.com logo
#dotnet
Title
# dotnet
g

gray-vr-25374

07/21/2022, 8:52 AM
Hi everyone! Does someone know how to add certificate (*.pfx format) to KeyVault with using Azure-native? In Azure classic we have Azure.KeyVault.Certificate class that accept content of certificate and password, so it is straight forward on how to use it. In Azure-native I think I should use AzureNative.KeyVault.Key but for me it not clear how to pass certificate there.
b

bored-oyster-3147

07/21/2022, 9:38 PM
Where is your pulumi program running?
Actually disregard that question, I'm pretty sure there is documentation on how to pass this somewhere
Ok here's your problem: https://github.com/pulumi/pulumi-azure-native/issues/742 Not sure what a current workaround would be, but there isn't anything preventing you from using the Azure classic provider right next to the Azure Native provider if that works
g

gray-vr-25374

07/22/2022, 6:43 AM
Thank you for answer and pointing me to this issue! I was considering using Azure classic but then decided to upload certificate directly to Application gateway, this is also works as expected.
6 Views