New-SCSpfTrustedIssuer

Creates a trusted issuer for claims-based authentication.

Syntax

New-SCSpfTrustedIssuer [-Confirm] -Key <String> -Name <String> [-Tenant <Tenant>] [-WhatIf]
 [<CommonParameters>]

Description

The New-SCSPFTrustedIssuer cmdlet creates certification credentials for claims-based authentication in Service Provider Foundation. The hoster obtains the public key of the key-value pair of the certificate from the tenant or on behalf of the tenant. Then, the trusted issuer object can validate signed tokens from the tenant so that access to resources can be granted.

Examples

Example 1: Create a trusted issuer

PS C:\>New-SCSPFTrustedIssuer -Key $Key -Name "Contoso"

This command creates a trusted issuer with a previously defined key and a specified name.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-Key

Specifies the public key that validates a signed token submitted by a tenant in claims-based authentication.

Type:String
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies a name to give to the trusted issuer.

Type:String
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Tenant

Specifies a tenant object to associate with the new trusted issuer. To obtain a tenant, use the Get-SCSPFTenant cmdlet.

Type:Tenant
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False