https://pulumi.com logo
Title
g

glamorous-helmet-50600

05/05/2021, 3:31 PM
Hi guys, I'm using
AzureNative.Web.GetCertificate.InvokeAsync(...)
to retrieve an existing certificate, and the expected output has a "PfxBlob" but it's coming always empty - I'm wondering if this is expected at all? On the first pulumi run I create the certificate and include the PfxBlob so I was expecting to be able to retrieve it.
@tall-librarian-49374 any pointer on this one?
t

tall-librarian-49374

05/06/2021, 8:26 AM
I don’t know. Could you log the requests in debug mode and see what Azure returns?
g

glamorous-helmet-50600

05/06/2021, 8:27 AM
Sure I'll give it a go. I've also need to do that for the other issue I logged on github the other day - was on holiday so didn't have time till now
@tall-librarian-49374 On the debug logs I can see that the response from azure has the pfxBlob set to null, I'm not sure why. I'm definitely setting the pfxBlob on the first run and the proof is that I can see it on the logs when pulumi is computing the diff for the certificate.
Also, using the Azure Rest API directly I also don't get the pfxBlob property populated...I wonder why that property is even included on the response payload (perhaps for compatibility purposes with previous API versions?)