Zum Hauptinhalt springen

IConfigurationSecretAttributeResolver

Namespace: Meshmakers.Octo.Sdk.Common.EtlDataPipeline

Tells which attributes of a configuration CK type are Secret (AB#5538). The communication controller ships configuration entities to the adapter with their Secret values revealed as plain strings; a node that copies such a configuration into the data context (GetPipelineConfigByWellKnownName@1, GetPipelineConfigByCkTypeId@1) registers those values with the execution's PipelineSecretRegistry first.

public interface IConfigurationSecretAttributeResolver

Remarks:

The default registration (NoConfigurationSecretAttributeResolver) knows no CK model and answers null; ConfigurationSecrets then falls back to ConfigurationSecrets.KnownCredentialAttributeNames. The mesh adapter replaces it with a resolver backed by the CK cache.

Methods​

GetSecretAttributeNames(String, RtCkId<CkTypeId>)​

Names of the Secret attributes of ckTypeId, top level and record members at any depth (compared case-insensitively). An empty collection means "the type has no Secret"; null means the type could not be resolved.

IReadOnlyCollection<string> GetSecretAttributeNames(string tenantId, RtCkId<CkTypeId> ckTypeId)

Parameters​

tenantId String
Tenant of the execution

ckTypeId RtCkId<CkTypeId>
CK type of the configuration entity

Returns​

IReadOnlyCollection<String>