Get-AdfsClaimsProviderTrust
Gets the claims provider trusts in the Federation Service.
Syntax
ClaimsProviderName (Default)
Get-AdfsClaimsProviderTrust
[[-Name] <String[]>]
[<CommonParameters>]
TokenSigningCertificates
Get-AdfsClaimsProviderTrust
[-Certificate] <X509Certificate2[]>
[<CommonParameters>]
Identifier
Get-AdfsClaimsProviderTrust
[-Identifier] <String[]>
[<CommonParameters>]
Description
The Get-AdfsClaimsProviderTrust cmdlet gets the claims provider trusts in the Federation Service. You can use this cmdlet with no parameters to get all the claims provider trust objects.
Examples
Example 1: Get claims provider trusts
PS C:\> Get-AdfsClaimsProviderTrust -Name "Fabrikam claims provider"
This command gets the property settings for the claims provider trust named Fabrikam claims provider.
Parameters
-Certificate
Specifies an array of token-signing certificates of the claims provider trust to get.
Parameter properties
Type: | X509Certificate2[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
TokenSigningCertificates
Position: | 0 |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Identifier
Specifies an array of unique IDs of the claims provider trust to get.
Parameter properties
Type: | String[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
Identifier
Position: | 0 |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Name
Specifies an array of display names of the claims provider trust to get.
Parameter properties
Type: | String[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ClaimsProviderName
Position: | 0 |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
System.Security.Cryptography.X509Certificates.X509Certificate.X509Certificate2
X509Certificate2 objects are received by the Certificate parameter.
String
String objects are received by the Identifier and Name parameters.
Outputs
Microsoft.IdentityServer.PowerShell.Resources.ClaimsProviderTrust
Returns one or more ClaimsProviderTrust objects that represent the claims provider trusts for the Federation Service.
Notes
- If you do not specify the Name parameter, the cmdlet lists all claims providers. The claims provider collects and authenticates a user's credentials, builds up claims for that user, and packages the claims into security tokens or Information Cards. In other words, a claims provider represents the organization for whose users the claims provider issues security tokens or Information Cards on their behalf. When you configure Active Directory Federation Services (AD FS), the role of the claims provider is to enable its users to access resources that are hosted in a relying party organization by establishing one side of the federation trust relationship. After the federation trust is established, tokens and Information Cards can be presented to the relying party across the trust.