Examples/Resources/SPTrustedSecurityTokenIssuer/1-CreateUsingCertificateFilePath.ps1
<#
.EXAMPLE This example creates a trusted security token issuer using a signing certificate in a file path, and the SPAuthenticationRealm of the SharePoint farm. #> Configuration Example { param( [Parameter(Mandatory = $true)] [PSCredential] $SetupAccount ) Import-DscResource -ModuleName SharePointDsc node localhost { SPTrustedSecurityTokenIssuer HighTrustAddinsTrust { Name = "HighTrustAddins" Description = "Trust for Provider-hosted high-trust add-ins" RegisteredIssuerNameIdentifier = "22222222-2222-2222-2222-222222222222" IsTrustBroker = $true SigningCertificateFilePath = "F:\Data\DSC\FakeSigning.cer" Ensure = "Present" PsDscRunAsCredential = $SetupAccount } } } |