add key option for key generate