Tests/Integration/MSFT_CertReq.config.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Configuration MSFT_CertReq_Config {
    Import-DscResource -ModuleName CertificateDsc

    node localhost {
        CertReq Integration_Test {
            Subject             = $Node.Subject
            CAServerFQDN        = $Node.CAServerFQDN
            CARootName          = $Node.CARootName
            Credential          = $Node.Credential
            KeyLength           = $Node.KeyLength
            Exportable          = $Node.Exportable
            ProviderName        = $Node.ProviderName
            OID                 = $Node.OID
            KeyUsage            = $Node.KeyUsage
            CertificateTemplate = $Node.CertificateTemplate
            SubjectAltName      = $Node.SubjectAltName
            FriendlyName        = $Node.FriendlyName
            KeyType             = $Node.KeyType
            RequestType         = $Node.RequestType
        }
    }
}