read id and key as params not write in config file