DSCResources/xSelfSignedCertificate/xSelfSignedCertificate.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
[ClassVersion("1.0.0.0"), FriendlyName("xSelfSignedCertificate")]
class xSelfSignedCertificate : OMI_BaseResource
{
    [Key, Required, Description("Certificate Common Name.")]
    String CommonName;
    [Required, Description("Certificate Friendly Name.")]
    String FriendlyName;
    [Write, Description("Password for exported private key, otherwise it's randomized.")]
    String Password;
    [Write, Description("Path of exported PFX (Private Key).")]
    String PFXPath;
    [Write, Description("Path of exported CER (Public Key).")]
    String CERPath;
    [Write, Description("Path of Thumbprint TXT file.")]
    String ThumbprintPath;
    [Write, Description("Set to TRUE for a DSC Certificate, otherwise FALSE.")]
    Boolean IsDSCCert;
    [Key, Required, Description("Set this to 'Present' to ensure that the object is present. Set it to 'Absent' to ensure that the object is deleted."),
    ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
};