Get-AdfsCertificate

Get-AdfsCertificate

Retrieves the certificates from AD FS.

Sintaxis

Parameter Set: ByType
Get-AdfsCertificate [[-CertificateType] <String[]> ] [ <CommonParameters>]

Parameter Set: ByReference
Get-AdfsCertificate [-Thumbprint] <String[]> [ <CommonParameters>]

Descripción detallada

The Get-AdfsCertificate cmdlet retrieves the certificates that Servicios de federación de Active Directory (AD FS) uses for token signing, token decrypting, card signing, and securing service communications.

Parámetros

-CertificateType<String[]>

Specifies the type of the certificate to retrieve. Los valores aceptables para este parámetro son los siguientes:

-- Infocard-Signing
-- Service-Communications
-- Token-Encryption
-- Token-Signing

Alias

ninguno

¿Requerido?

false

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Thumbprint<String[]>

Specifies the thumbprint of the certificate to retrieve.

Alias

ninguno

¿Requerido?

true

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

  • Microsoft.IdentityServer.PowerShell.Resources.ServiceCertificate

    This cmdlet generates a class structure that represents the certificate objects for ADFS.

Notas

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

Ejemplos

Example 1: Get the token-signing certificates

This command retrieves the token-signing certificates forAD FS.

PS C:\> Get-AdfsCertificate -CertificateType "Token-Signing"

Temas relacionados

Add-AdfsCertificate

Remove-AdfsCertificate

Set-AdfsCertificate

Update-AdfsCertificate