Table of Contents

Enum SecretValueInterpretation

Namespace
MailFathom.Infrastructure.Secrets.Resolution
Assembly
MailFathom.Infrastructure.dll

Selects how a configured secret-bearing value is interpreted before resolution.

public enum SecretValueInterpretation

Fields

InlineOnly = 2

Parses nothing and accepts every value as the secret itself, for a configuration provider that pre-resolves.

ReferenceOnly = 0

Requires every value to be a well-formed <scheme>:<target> reference. This is the default.

ReferenceOrInline = 1

Resolves a registered scheme through its adapter and accepts every other value as the secret itself.

Remarks

Interpretation is an explicit deployment choice rather than an inference from the environment. A configuration provider that resolved the secret before MailFathom bound it — Azure App Configuration with Key Vault references is the concrete case — hands over the material itself with no scheme prefix, which only InlineOnly can accept without guessing.