Share via


New-SCSPFTrustedIssuer

Creates a trusted issuer for claims-based authentication.

Syntax

Default (Default)

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.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Key

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

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

Specifies a name to give to the trusted issuer.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Tenant

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

Parameter properties

Type:Microsoft.SystemCenter.Foundation.SPFData.Types.Tenant
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

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

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
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

None

Outputs

System.Object