ConfigurationSecrets
Namespace: Meshmakers.Octo.Sdk.Common.EtlDataPipeline
Registers the Secret values of a configuration JSON with the execution's secret registry (AB#5538).
public static class ConfigurationSecrets
Inheritance Object → ConfigurationSecrets
Fields
KnownCredentialAttributeNames
Credential attribute names of System.Communication 3.41, used when the CK type of a configuration cannot be resolved.
public static IReadOnlyCollection<string> KnownCredentialAttributeNames;
Methods
Register(INodeContext, IConfigurationSecretAttributeResolver, String, RtCkId<CkTypeId>, JsonNode, String)
Registers every string value in configuration whose property name is a Secret
attribute of ckTypeId — at any depth, so both the attributes dictionary
and a typed entity's camelCase properties, and record members, are covered. When the type is
unknown (or not given) the ConfigurationSecrets.KnownCredentialAttributeNames are used and a warning
without values is logged.
public static int Register(INodeContext nodeContext, IConfigurationSecretAttributeResolver resolver, string tenantId, RtCkId<CkTypeId> ckTypeId, JsonNode configuration, string configurationName)
Parameters
nodeContext INodeContext
resolver IConfigurationSecretAttributeResolver
tenantId String
ckTypeId RtCkId<CkTypeId>
configuration JsonNode
configurationName String
Returns
Int32
The number of values registered