Enum SecretDeclarationFailure
- Namespace
- MailFathom.Infrastructure.Secrets.Resolution
- Assembly
- MailFathom.Infrastructure.dll
Why one configured secret declares an identity or a lifetime the host cannot use.
public enum SecretDeclarationFailure
Fields
LifetimeMalformed = 4The lifetime is neither NoLimitValue nor an ISO 8601 instant carrying an explicit offset.
LifetimeMissing = 3The lifetime is blank, which is a mistake rather than a second spelling of NoLimitValue.
NameDuplicated = 2A name was configured that another secret in the same configuration root already uses.
NameMalformed = 1A name was configured in a spelling SecretName does not accept.
NameMissing = 0No name was configured, so the secret has no identity a rotation, an expiry, or an audit record could name.
Remarks
The vocabulary is deliberately about the declaration rather than about the material, so every value is safe to report to an operator alongside the configuration path that produced it. Nothing here names a reference target, a retrieval outcome, or a secret; SecretResolutionFailure answers that separate question.