get and set config, for read only values