Ahead of the deprecation of the AzureRM powershell cmdlets later this year I am updating some of our infrastructure scripts to use the Az powershell cmdlets rather than AzureRM.
One of our scripts uploads SSL certificates to Azure Cloud Service(Classic)
resources using Add-AzureCertificate
:
Add-AzCertificate -ServiceName $serviceName -CertToDeploy $certObject
where $certObject
is a X509Certificate2
object.
What is the equivalent cmdlet in the Az module? Add-AzCertificate
does not exist.
On the Cloud Service documentation page where it details configuring SSL, only certificate upload via the Azure portal is shown.