Get-WFSelfIssuedOAuthS2SCredential
Get-WFSelfIssuedOAuthS2SCredential
This cmdlet returns a WFCredential required while using SelfIssued OAuth S2S mode.
Syntax
Parameter Set: Default
Get-WFSelfIssuedOAuthS2SCredential -ClientId <String> -Issuer <String> -Realm <String> -ServiceUri <Uri> -SigningCertificate <X509Certificate2> [ <CommonParameters>]
Detailed Description
Run this cmdlet to return a WFCredential required while using SelfIssued OAuth S2S mode.
Parameters
-ClientId<String>
The S2S Client ID.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Issuer<String>
Provides a new issuer name for the service namespace.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Realm<String>
Specifies the security realm.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-ServiceUri<Uri>
The URI of the Workflow Manager 1.0 service.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-SigningCertificate<X509Certificate2>
The signing certificate object to be used.
Aliases |
none |
Required? |
true |
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
The following example shows how to tun this cmdlet to return a WFCredential required while using SelfIssued OAuth S2S mode.
PS C:\> Get-WFSelfIssuedOAuthS2SCredential -ServiceUri "https://server:12290/" -CliendId "Workflow.Contoso" -Realm "000_Contoso" -SigningCertificate New-Object System.Security.Cryptography.X509Certificates.X509Certificate2($certificatePath, $certPassword) -Issuer "ContosoIssuer"
PS C:\>