Skip to main content

Interface: LoadClientConfigOptions

envconfig.LoadClientConfigOptions

Options for loading client configuration.

Properties

configFileStrict

Optional configFileStrict: boolean

If true, will error on unrecognized keys in the TOML file.


configSource

Optional configSource: ConfigDataSource

If present, this is used as the configuration source instead of default file locations. This can be a path or the string/byte contents of the configuration file.


overrideEnvVars

Optional overrideEnvVars: Record<string, string>

The environment variables to use for locating the default config file. If not provided, the current process's environment is used to check for TEMPORAL_CONFIG_FILE.