Represents a function that given a config and the config key string, will return the given type.
Trait that describes how a FileDescriptor
extracts credentials from a config.
Trait that describes how a FileDescriptor
extracts credentials from a config.
The config file must follow the following structure:
{{protocol}}.default = $protocolCredentials {{protocol}}.credentials = [{ id = id1 creds = $protocolCredentials },{ ids = [id2, id3] creds = $protocolCredentials }]
The {{protocol}}.default is an optional and is used as a fallback when the file descriptor id matches none of the credentials ids.
Inside the {{protocol}}.credentials list there must be a creds
key which
contains the all required keys for the pertaining protocol, and either an
id
or a ids
key which represent an unique id or a list of unique ids
respectively for which the credentials are valid.
The type of credential object that is extracted
Provides useful extension methods for Config
instances.
Contains static methods for creating Config
instances in a lazy way.
Contains static methods for creating Config
instances in a lazy way.
The loading process resolves variables lazily - configurations are first completely loaded and merged
(reference.conf, the application file and default overrides) and only then are variables resolved. This
ConfigFactory
also considers a third standard configuration file, overrides.conf
, which has priority over the
application file and can be used to specify keys that should always be overriden, e.g. by environment variables if
they are defined.
Represents a function that given a config and the config key string, will return the given type.
the type to be returned