Interface: LoadClientProfileOptions
Options for loading a client configuration profile.
Properties
configFileStrict?
optionalconfigFileStrict?:boolean
If true, will error on unrecognized keys in the TOML file.
configSource?
optionalconfigSource?:ConfigDataSource
If present, this is used as the configuration source instead of default file locations. This can be a path to the file or the string/byte contents of the file.
disableEnv?
optionaldisableEnv?:boolean
If true, environment variable loading and overriding is disabled.
disableFile?
optionaldisableFile?:boolean
If true, file loading is disabled. This is only used when configSource
is not present.
overrideEnvVars?
optionaloverrideEnvVars?:Record<string,string>
A dictionary of environment variables to use for loading and overrides. If not provided, the current process's environment is used.
profile?
optionalprofile?:string
The name of the profile to load from the config. Defaults to "default".