Get-AzureRmWebAppCertificate

Gets an Azure Web App certificate.

Warning

The AzureRM PowerShell module has been officially deprecated as of February 29, 2024. Users are advised to migrate from AzureRM to the Az PowerShell module to ensure continued support and updates.

Although the AzureRM module may still function, it's no longer maintained or supported, placing any continued use at the user's discretion and risk. Please refer to our migration resources for guidance on transitioning to the Az module.

Syntax

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

Description

The Get-AzureRmWebAppCertificate 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

PS C:\>Get-AzureRmWebAppCertificate -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

PS C:\>Get-AzureRmWebAppCertificate -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:IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

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

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

-Thumbprint

Specifies the unique identifier for the certificate.

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

Inputs

None

Outputs

Certificate