AdfsCertificate - X-Guardian/AdfsDsc GitHub Wiki

AdfsCertificate

Parameters

Parameter Attribute DataType Description Allowed Values
CertificateType Key String Specifies the certificate type (that is, how the Federation Service uses the certificate). Service-Communications, Token-Decrypting, Token-Signing
Thumbprint Required String Specifies the thumbprint of the certificate to use.

Description

The AdfsCertificate Dsc resource manages certificate that AD FS uses to sign, decrypt, or secure communications.

Examples

Example 1

This configuration will set the primary token-signing certificate in Active Directory Federation Services (AD FS) to the certificate with the specified thumbprint.

Configuration AdfsCertificate_Config
{
    Import-DscResource -ModuleName AdfsDsc

    Node localhost
    {
        AdfsCertificate Certificates
        {
            CertificateType = 'Token-Signing'
            Thumbprint      = 'fedd995b45e633d4ef30fcbc8f3a48b627e9a28b'
        }
    }
}