code: public static char[] passwordCharArray(AbstractConfig config, String key) {
      final Password password = config.getPassword(key);
      return password.value().toCharArray();
    }
docs: Method is used to return an array of characters representing the password stored in the config.
  
  @param config Config to read from
  @param key    Key to read from
  @return char array containing the password