DSCResources/Grani_CredentialManager/Grani_CredentialManager.schema.mof

1
2
3
4
5
6
7
8
9
10
11

[ClassVersion("1.0.0.0"), FriendlyName("cCredentialManager")]
class Grani_CredentialManager : OMI_BaseResource
{
    [Key, Description("Configuration Instance Identifier to handle same Target with multiple PsDscRunCredential.")] String InstanceIdentifier;
    [Required, Description("
Credential Manager entry identifier link to Credential.")] String Target;
    [Write, EmbeddedInstance("
MSFT_Credential"), Description("Credential to save.")] String Credential;
    [Required, Description("
Ensure Target entry is Present or Absent."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
};