Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.81 KB

powershell-secure-backend-with-mutual-certificate-authentication.md

File metadata and controls

44 lines (30 loc) · 1.81 KB
title description services documentationcenter author manager editor ms.service ms.workload ms.topic ms.date ms.author ms.custom
Azure PowerShell Script Sample - Secure back end | Microsoft Docs
Learn how to use an Azure PowerShell script sample to secure backend with mutual certificate authentication.
api-management
dlepow
cfowler
api-management
mobile
sample
11/16/2017
danlep
mvc, devx-track-azurepowershell

Secure back end

This sample script secures backend with mutual certificate authentication.

[!INCLUDE updated-for-az]

[!INCLUDE cloud-shell-try-it.md]

If you choose to install and use the PowerShell locally, this tutorial requires the Azure PowerShell module version 1.0 or later. Run Get-Module -ListAvailable Az to find the version. If you need to upgrade, see Install Azure PowerShell module. If you are running PowerShell locally, you also need to run Connect-AzAccount to create a connection with Azure.

Sample script

[!code-powershellmain]

Clean up resources

When no longer needed, you can use the Remove-AzResourceGroup command to remove the resource group and all related resources.

Remove-AzResourceGroup -Name myResourceGroup

Next steps

For more information on the Azure PowerShell module, see Azure PowerShell documentation.

Additional Azure PowerShell samples for Azure API Management can be found in the PowerShell samples.