Config use program

Is there any way or function to config by program
no need to make config file or TLS key file.