< Back
Get-AzureCertificate
Post
NAME Get-AzureCertificate
SYNOPSIS
Gets a certificate object from an Azure service.
SYNTAX
Get-AzureCertificate [-ServiceName] <String> [-ThumbprintAlgorithm <String>] [-Thumbprint <String>] [-Profile <AzureSMProfile>] [-InformationAction
<ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
DESCRIPTION
The Get-AzureCertificate cmdlet gets a certificate object from an Azure service.
PARAMETERS
-ServiceName <String>
Specifies the name of the Azure service from which this cmdlet gets a certificate.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ThumbprintAlgorithm <String>
Specifies the algorithm that is used to create the certificate thumbprint.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Thumbprint <String>
Specifies the thumbprint of the certificate that this cmdlet gets.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Profile <AzureSMProfile>
Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationAction <ActionPreference>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationVariable <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
CertificateContext
NOTES
-------------------------- Example 1: Get certificates from a service --------------------------
PS C:\\>$AzureCert = Get-AzureCertificate -ServiceName "ContosoService"
This command gets certificate objects from the service named ContosoService, and then stores them in the $AzureCert variable.
-------------------------- Example 2: Get a certificate from a service --------------------------
PS C:\\>$AzureCert = Get-AzureCertificate -ServiceName "ContosoService" -Thumbprint '5383CE0343CB6563281CA97C1D4D712209CFFA97'
This command gets the certificate object identified by the specified thumbprint from the service named ContosoService, and then stores it in the
$AzureCert variable.
RELATED LINKS
Add-AzureCertificate
New-AzureCertificateSetting
Remove-AzureCertificate
SYNOPSIS
Gets a certificate object from an Azure service.
SYNTAX
Get-AzureCertificate [-ServiceName] <String> [-ThumbprintAlgorithm <String>] [-Thumbprint <String>] [-Profile <AzureSMProfile>] [-InformationAction
<ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
DESCRIPTION
The Get-AzureCertificate cmdlet gets a certificate object from an Azure service.
PARAMETERS
-ServiceName <String>
Specifies the name of the Azure service from which this cmdlet gets a certificate.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ThumbprintAlgorithm <String>
Specifies the algorithm that is used to create the certificate thumbprint.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Thumbprint <String>
Specifies the thumbprint of the certificate that this cmdlet gets.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Profile <AzureSMProfile>
Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationAction <ActionPreference>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationVariable <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
CertificateContext
NOTES
-------------------------- Example 1: Get certificates from a service --------------------------
PS C:\\>$AzureCert = Get-AzureCertificate -ServiceName "ContosoService"
This command gets certificate objects from the service named ContosoService, and then stores them in the $AzureCert variable.
-------------------------- Example 2: Get a certificate from a service --------------------------
PS C:\\>$AzureCert = Get-AzureCertificate -ServiceName "ContosoService" -Thumbprint '5383CE0343CB6563281CA97C1D4D712209CFFA97'
This command gets the certificate object identified by the specified thumbprint from the service named ContosoService, and then stores it in the
$AzureCert variable.
RELATED LINKS
Add-AzureCertificate
New-AzureCertificateSetting
Remove-AzureCertificate