TaskSecrets
Static class in Oadm.Sdk.Tasks · Oadm.Sdk.dll
The default secrets of a payload type (ITaskPlugin.SecretsOf): its top-level SecretAttribute properties.
public static class TaskSecretsMethods
Section titled “Methods”FromAttributes
Section titled “FromAttributes”static IReadOnlyList<TaskSecret> FromAttributes(Type? payloadType, JsonSerializerOptions? options)One TaskSecret per top-level SecretAttribute property of payloadType (also a record’s constructor parameter), at its JSON name in options; empty without a type.
SlotName
Section titled “SlotName”static string SlotName(string field)A JSON name as a slot name: lower case letters and digits, words joined with underscores (“pkcs12Password” is “pkcs12_password”).