Tests/Integration/MSFT_PfxImport.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
24
25
26
27
28
29
Configuration MSFT_PfxImport_Add_Config {
    Import-DscResource -ModuleName CertificateDsc

    node localhost {
        PfxImport Integration_Test {
            Thumbprint   = $Node.Thumbprint
            Path         = $Node.Path
            Location     = $Node.Location
            Store        = $Node.Store
            Ensure       = $Node.Ensure
            Credential   = $Node.Credential
            FriendlyName = $Node.FriendlyName
        }
    }
}

Configuration MSFT_PfxImport_Remove_Config {
    Import-DscResource -ModuleName CertificateDsc

    node localhost {
        PfxImport Integration_Test {
            Thumbprint = $Node.Thumbprint
            Location   = $Node.Location
            Store      = $Node.Store
            Ensure     = $Node.Ensure
        }
    }
}