The default FileConfig.blockedPaths: the system and credential locations of the platform the JVM runs on, with the user's home directory taken from user.home when this object is first used (defaultBlockedPaths lists them). Extend it rather than replace it: FileConfig(blockedPaths = FileConfig.DefaultBlockedPaths :+ "/srv/keys").
The default FileConfig.blockedPaths: the system and credential locations of the platform the JVM runs on, with the user's home directory taken from user.home when this object is first used (defaultBlockedPaths lists them). Extend it rather than replace it: FileConfig(blockedPaths = FileConfig.DefaultBlockedPaths :+ "/srv/keys").