Key value column implementation for settings table

I have settings table with two columns key and value . I want a setting resource to set multiple keys and have users input values for value field of respective keys. Each key value is an individual record in the table. How to achieve this with settingResource, what fields to use ?
Was this page helpful?