Reads and parses a JSON config file, decrypting it first if needed. Only a missing file is a failure; a file that is there but unusable throws.
Absolute path to the JSON file to read.
The parsed config, or a failure with status ENOENT when there is no file.
ConfigurationError when the file cannot be read, or is encrypted but no password is set.
Reads and parses a JSON config file, decrypting it first if needed. Only a missing file is a failure; a file that is there but unusable throws.