Get-AdfsCertificate
Get-AdfsCertificate
Retrieves the certificates from AD FS.
構文
Parameter Set: ByType
Get-AdfsCertificate [[-CertificateType] <String[]> ] [ <CommonParameters>]
Parameter Set: ByReference
Get-AdfsCertificate [-Thumbprint] <String[]> [ <CommonParameters>]
詳細説明
The Get-AdfsCertificate cmdlet retrieves the certificates that Active Directory フェデレーション サービス (AD FS) uses for token signing, token decrypting, card signing, and securing service communications.
パラメーター
-CertificateType<String[]>
Specifies the type of the certificate to retrieve. このパラメーターに対して使用できる値:
-- Infocard-Signing
-- Service-Communications
-- Token-Encryption
-- Token-Signing
エイリアス |
なし |
必須? |
false |
位置は? |
1 |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Thumbprint<String[]>
Specifies the thumbprint of the certificate to retrieve.
エイリアス |
なし |
必須? |
true |
位置は? |
1 |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
Microsoft.IdentityServer.PowerShell.Resources.ServiceCertificate
This cmdlet generates a class structure that represents the certificate objects for ADFS.
注
- You can use the Get-AdfsCertificate cmdlet without any parameters to get all the certificates.
例
Example 1: Get the token-signing certificates
This command retrieves the token-signing certificates forAD FS.
PS C:\> Get-AdfsCertificate -CertificateType "Token-Signing"