https://pulumi.com logo
#general
Title
# general
i

icy-dress-83371

04/29/2019, 9:02 PM
Anyone know if it is possible to use Service Principal certificates to access azure from the Pulumi config settings instead of just ClientSecret? Terraform uses
ARM_CLIENT_CERTIFICATE_PASSWORD
and
ARM_CLIENT_CERTIFICATE_PATH
, wondering if Pulumi has an equivalent. Couldn't find any docs.
b

broad-dog-22463

04/29/2019, 9:09 PM
@icy-dress-83371 I used to work on terraform and we never supported it there AFAICR - the terraform provider that supported that was the azure service manager provider (not azurerm) and it was deprecated I’m not 100% sure but I’m pretty sure that pulumi is tracking the work from terraform-provider-azurerm
i

icy-dress-83371

04/29/2019, 9:11 PM
@broad-dog-22463 https://www.terraform.io/docs/providers/azurerm/auth/service_principal_client_certificate.html was where I had found it, maybe I am looking at the wrong place then?
b

broad-dog-22463

04/29/2019, 9:12 PM
Ah glad I said I’m not 100% sure - checking the pulumi codebase now - 2 mins
ok, it doesn't look like it's supported - I think it would be useful to open a GH issue with this with the link you gave me. I've been using Azure for a while and I've never used that specific feature so it may have slipped through here as well
i

icy-dress-83371

04/29/2019, 9:21 PM
Thanks @broad-dog-22463 OK, I will open up something there. To be honest, I have not either, just noticed Terraform has the ability, so I wanted to give it a try out of curiosity in Pulumi.
b

broad-dog-22463

04/29/2019, 9:22 PM
ok, I am just making a build right now to opena PR
give me 5 mins and a PR will be there
i

icy-dress-83371

04/29/2019, 9:30 PM
haha, a pull request before I was even able to create the issue, guess it was trivial to implement?
b

broad-dog-22463

04/29/2019, 9:30 PM
yeah it was just missing 3 of the provider params - so it wasn't anything bad 🙂
I will link you to the PR
i

icy-dress-83371

04/29/2019, 9:31 PM
cool thanks, I will subscribe and monitor
b

broad-dog-22463

04/29/2019, 9:44 PM
let me know if that works out for you!