Redigera

Dela via


Get-AzApplicationGatewayAuthenticationCertificate

Gets an authentication certificate for an application gateway.

Syntax

Get-AzApplicationGatewayAuthenticationCertificate
   [-Name <String>]
   -ApplicationGateway <PSApplicationGateway>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzApplicationGatewayAuthenticationCertificate cmdlet gets an authentication certificate for an Azure application gateway.

Examples

Example 1: Get a specified authentication certificate

$appgw = Get-AzApplicationGateway -ResourceGroupName "rg" -Name "appGwName"
$cert = Get-AzApplicationGatewayAuthenticationCertificate -Name "cert01" -ApplicationGateway $appgw

The first command gets the application gateway named appGwName and stores it in the $appgw variable. The second command gets the authentication certificate named cert01 and stores it in the $cert variable.

Parameters

-ApplicationGateway

Specifies the name of application gateway for which this cmdlet gets an authentication certificate.

Type:PSApplicationGateway
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies the name of the authentication certificate that this cmdlet gets.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

PSApplicationGateway

Outputs

PSApplicationGatewayAuthenticationCertificate

Notes

  • Keywords: azure, azurerm, arm, resource, management, manager, network, networking