Attempts to read the config from the following locations, in this order:
Attempts to read the config from the following locations, in this order:
environment variables a resource file packaged with the app, or else a file at the same path a file under the user home dir
credentials
ResourceNotFoundException
if no config is found in any of the searched locations
Attempts to read the config.
Attempts to read the config. Override this method to customize a) the locations from which the config is read and b) the order in which the locations are read.
the config wrapped in an Option
if successfully read, None
otherwise
type of credential