DSCResources/Grani_PfxImport/Grani_PfxImport.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12
13

[ClassVersion("1.0.0.0"), FriendlyName("cPfxImport")]
class Grani_PfxImport : OMI_BaseResource
{
    [Key, Description("Thumbprint of target pfx.")] String ThumbPrint;
 [Required, Description("
Determine pfx to be import or not."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
 [Write, Description("
File path to the pfx.")] String PfxFilePath;
 [Read, Description("
Certification Store Location."), ValueMap{"LocalMachine"}, Values{"LocalMachine"}] String CertStoreLocation;
 [Write, Description("
Certification Store Name"), ValueMap{"AddressBook","AuthRoot","CertificateAuthority","Disallowed","My","Root","TrustedPeople","TrustedPublisher"}, Values{"AddressBook","AuthRoot","CertificateAuthority","Disallowed","My","Root","TrustedPeople","TrustedPublisher"}] String CertStoreName;
 [Write, EmbeddedInstance("
MSFT_Credential"), Description("Specify Password to import pfx.")] String Credential;
};