SecretAttribute
Class in Oadm.Sdk.Tasks · Oadm.Sdk.dll
Marks a payload property that holds a password, key or other secret (SDK 0.13.0). The host leaves it out of the task’s input schema, so an AI agent can never send it; a top-level one is a secret slot of the agents’ preview (ITaskPlugin.SecretsOf): the person types the value into their own shell or the assistant’s card, and the run gets it in the payload (in memory only, like every payload). Secrets inside lists need ITaskPlugin.SecretsOf.
public sealed class SecretAttribute : AttributeInherits Attribute
Properties
Section titled “Properties”string Label { get; set; }What the person is asked for, in lower case: “password” (the default), “passphrase”, “PKCS#12 password”, “license key”.