Get-ADFSCertificate

Get-ADFSCertificate

Gets the certificates that are in the Federation Service.

Syntax

Get-ADFSCertificate [-Thumbprint] <string> [<CommonParameters>]
  • Thumbprint

    Get-ADFSCertificate [[-CertificateType] <string[]>] []

  • CertificateType

Detailed Description

The Get-ADFSCertificate cmdlet retrieves the certificates that the Federation Service uses for token signing, token decrypting and securing service communications.

Parameters

CertificateType

Specifies the type of the certificate to retrieve. Possible certificate types include the following:
Token-Signing, Token-Encryption, or Service-Communications.

Default Value: **

Data Type: string[]

Attributes

Name Value PSMAML Attribute

Required?

false

required

Variable Length?

true

variableLength

Accept wildcard characters?

false

globbing

Accept Pipeline Input?

false

pipelineInput

Position?

1

position

Value Attributes

Name Value PSMAML Attribute

Required?

true

required

Variable Length?

true

variableLength

Thumbprint

Specifies the thumbprint of the certificate to retrieve.

Default Value: **

Data Type: string

Attributes

Name Value PSMAML Attribute

Required?

true

required

Variable Length?

false

variableLength

Accept wildcard characters?

false

globbing

Accept Pipeline Input?

false

pipelineInput

Position?

1

position

Value Attributes

Name Value PSMAML Attribute

Required?

true

required

Variable Length?

false

variableLength

Input Type

None

Return Type

Microsoft.IdentityServer.PowerShell.Resources.ServiceCertificate

A class structure that represents the certificate objects for the Federation Service.

Notes

  • You can use the Get-ADFSCertificate cmdlet without any parameters to get all the certificates.

Examples

-------------------------- EXAMPLE 1 --------------------------

Command Prompt: C:\PS>

 
Get-ADFSCertificate -CertificateType "Token-Signing"                        

Description

-----------

Gets the token-signing certificates for the Federation Service.

See Also

Reference

Add-ADFSCertificate
Remove-ADFSCertificate
Update-ADFSCertificate

Other Resources

Online version: