Get-AzApplicationGatewayAuthenticationCertificate
Gets an authentication certificate for an application gateway.
Syntax
Default (Default)
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.
Parameter properties
Type: | PSApplicationGateway |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure.
Parameter properties
Type: | IAzureContextContainer |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Name
Specifies the name of the authentication certificate that this cmdlet gets.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
PSApplicationGateway
Outputs
PSApplicationGatewayAuthenticationCertificate
Notes
- Keywords: azure, azurerm, arm, resource, management, manager, network, networking