Table of Contents

Method FindSecretBearingSettings

Namespace
MailFathom.Infrastructure.Secrets.Discovery
Assembly
MailFathom.Infrastructure.dll

FindSecretBearingSettings(object, string)

Walks a bound options object and reports its secret-bearing settings.

public static DiscoveredSecretSettings FindSecretBearingSettings(object boundOptions, string rootConfigurationPath)

Parameters

boundOptions object

The bound options root, for example the object behind the MailSynchronization section.

rootConfigurationPath string

The configuration path of that root, which prefixes every reported path.

Returns

DiscoveredSecretSettings

The discovered blocks and the paths of raw string properties that name a secret.

Exceptions

ArgumentNullException

Thrown when boundOptions is null.

ArgumentException

Thrown when rootConfigurationPath is null, empty, or whitespace.