Skip to content

Latest commit

 

History

History
103 lines (75 loc) · 2.78 KB

Get-AzWebAppCertificate.md

File metadata and controls

103 lines (75 loc) · 2.78 KB
external help file Module Name ms.assetid online version schema
Microsoft.Azure.PowerShell.Cmdlets.Websites.dll-Help.xml
Az.Websites
2D83D38F-3A5C-40DB-BE8B-D52E5CAFCF6E
2.0.0

Get-AzWebAppCertificate

SYNOPSIS

Gets an Azure Web App certificate.

SYNTAX

Get-AzWebAppCertificate [[-ResourceGroupName] <String>] [[-Thumbprint] <String>]
 [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]

DESCRIPTION

The Get-AzWebAppCertificate cmdlet gets information about Azure Web App certificates associated with a specified resource group. If you know the certificate thumbprint you can also use this cmdlet to get information about a specified certificate.

EXAMPLES

Example 1: Get Web App certificates in a resource group

Get-AzWebAppCertificate -ResourceGroupName "ContosoResourceGroup"

This command returns information about the uploaded Web App certificates associated with the resource group ContosoResourceGroup.

Example 2: Get a specified web app certificate

Get-AzWebAppCertificate -ResourceGroupName "ContosoResourceGroup" -Thumbprint "E3A38EBA60CAA1C162785A2E1C44A15AD450199C3"

This command gets the ContosoResourceGroup Web App certificate with the thumbprint E3A38EBA60CAA1C162785A2E1C44A15AD450199C3.

PARAMETERS

-DefaultProfile

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

Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzContext, AzureRmContext, AzureCredential

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

-ResourceGroupName

Specifies the name of the resource group that the certificate is assigned to.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Thumbprint

Specifies the unique identifier for the certificate.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

Microsoft.Azure.Commands.WebApps.Models.WebApp.PSCertificate

NOTES

RELATED LINKS

Get-AzWebAppSSLBinding