PrivateconfigPrivateloadedPrivate ReadonlyisPrivateinternalPrivatefileLoad internal default configuration from bundled YAML file. Uses Zod validation with type-safe parsing.
PrivateloadLoad configuration from multiple sources in cascading order.
OptionalcustomPath: stringPrivateloadLoad configuration from a file with Zod validation.
Path to the configuration file
True if the file was loaded successfully
PrivateshallowPrivatedeepType-safe deep merge helper for nested configuration objects. Uses explicit key iteration to avoid Record<string, unknown> casts.
Base type of the object being merged
Keys of T that should be deep-merged
Merged object with proper typing
PrivatemergePrivatemergeMerge PKI configuration section (deep merge).
PrivatemergeMerge storage configuration section (deep merge).
PrivatemergeMerge presets configuration (conditional merge vs replace).
PrivatemergeMerge new configuration into existing config using type-safe operations. Uses Zod-inferred types to avoid unsafe casts.
Validated partial configuration from Zod
PrivateapplyPrivatemap
Creates an instance of ConfigService. Initializes with default configuration and loads internal defaults.