New-WFS2SSecurityConfiguration
Updated: August 30, 2012
New-WFS2SSecurityConfiguration
Syntax
Parameter Set: certparam New-WFS2SSecurityConfiguration -Certificate <X509Certificate2> -IssuerName <String> [-ApplicationId <String> ] [-ClientId <String> ] [-ForMergingOnly <Boolean> ] [-GrantedPermission <WorkflowManagementPermissions> ] [-Name <String> ] [-Realm <String> ] [-RemoteServicePrincipalId <String> ] [ <CommonParameters>] Parameter Set: endpointparam New-WFS2SSecurityConfiguration -MetadataEndPoint <String> [-ApplicationId <String> ] [-ClientId <String> ] [-DiscoverRemoteServicePrincipalId <Boolean> ] [-ForMergingOnly <Boolean> ] [-GrantedPermission <WorkflowManagementPermissions> ] [-Name <String> ] [-Realm <String> ] [-RemoteServicePrincipalId <String> ] [ <CommonParameters>]
Detailed Description
Run this cmdlet to assist in the creation of the S2S Security configuration object when calling the Set-WFScopeSecurity cmdlet.
Parameters
-ApplicationId<String>
Specifies the application ID that identifies your application.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-Certificate<X509Certificate2>
Specifies the X509Certificate2 certificate.
|
Aliases |
none |
|
Required? |
true |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-ClientId<String>
Specifies the application’s client ID.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-DiscoverRemoteServicePrincipalId<Boolean>
Determines whether to discover the ID of a remote service.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-ForMergingOnly<Boolean>
Specifies whether this security configuration is to be merged with another OAuth security configuration.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-GrantedPermission<WorkflowManagementPermissions>
The permissions to grant to the Workflow service.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-IssuerName<String>
Specifies the name of the trusted security issuer.
|
Aliases |
none |
|
Required? |
true |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-MetadataEndPoint<String>
The URI of the metadata endpoint.
|
Aliases |
none |
|
Required? |
true |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-Name<String>
The name of the security configuration.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-Realm<String>
Specifies the security realm.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-RemoteServicePrincipalId<String>
The ID of the remote service.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1
PS C:\> $securityConfig = New-WFS2SSecurityConfiguration -Name $rootSecurityConfigName -Certificate $rootKey -IssuerName $rootIssuerName -ClientId $rootClientPrincipalId -GrantedPermission "All" -Realm $rootScopeRealm -ForMergingOnly $false
PS C:\>
PS C:\>