projectkudu / ARMClient

A simple command line tool to invoke the Azure Resource Manager API
http://blog.davidebbo.com/2015/01/azure-resource-manager-client.html
Other
315 stars 96 forks source link

add-cred hardcodes client certificate endDate to now + 1 year #26

Closed maitre-matt closed 7 years ago

maitre-matt commented 7 years ago

ARMClient.Program.GetPatchContent() ignores the actual end-date of the client certificate and uses 1 year instead. We use 2-year certificates and add-cred's unexpected behavior triggered an outage.

snobu commented 7 years ago

For context: https://github.com/projectkudu/ARMClient/blob/master/AADClient.Console/Program.cs#L378