class EnclaveFactory {

  static String readSecretFromFile(final Path path) throws IOException {
    final String password =
        Files.asCharSource(path.toFile(), StandardCharsets.UTF_8).readFirstLine();
    if (password == null || password.isEmpty()) {
      throw new InvalidConfigurationException("Keystore password file is empty: " + path);
    }
    return password;
  }

  public  EnclaveFactory(final Vertx vertx);

}