I am writing an Azure Deployment tool in Powershell using the PowerShell CmdLets that are provided from Microsoft.
In order to use the Azure Management CmdLets you must first associate a certificate to your subscription - typically by using the Get-AzurePublishSettingsFile command to download a pre-baked file from Azure.
This certificate has an expiry date - what happens after the expiry date? I assume the CmdLets will stop working until the Certificate is refreshed.
My question is:
How will the CmdLets respond when the certificate as expired? How will I be able to detect this in my Powershell script?
I'm finding this hard to test.
Many Thanks