DSCResources/MSFT_SPCertificate/MSFT_SPCertificate.schema.mof

[ClassVersion("1.0.0.0"), FriendlyName("SPCertificate")]
class MSFT_SPCertificate : OMI_BaseResource
{
    [Key, Description("Specifies path to the certificate file (PFX or CER)")] String CertificateFilePath;
    [Write, Description("The password of the PFX file"), EmbeddedInstance("MSFT_Credential")] String CertificatePassword;
    [Write, Description("Specifies the store in which the certificate should be placed"), ValueMap{"EndEntity","Intermediate","Pending","Root"}, Values{"EndEntity","Intermediate","Pending","Root"}] String Store;
    [Write, Description("Specifies if the certificate should be exportable after import")] Boolean Exportable;
    [Write, Description("Present ensures certificate exists, absent ensures it is removed"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] string Ensure;
};