The Configuration module comes with everything you need to manage configuration values for addon instances.