New-SCSPFTrustedIssuer

Creates a trusted issuer for claims-based authentication.

Syntax

New-SCSPFTrustedIssuer
   -Key <String>
   -Name <String>
   [-Tenant <Tenant>]
   [-WhatIf]
   [-Confirm]
   [<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:System.Management.Automation.SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required: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:System.String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies a name to give to the trusted issuer.

Type:System.String
Position:Named
Default value:None
Required:True
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:Microsoft.SystemCenter.Foundation.SPFData.Types.Tenant
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

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

Type:System.Management.Automation.SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object