Custom settings for my plugin

Hello,
I'm writing my own plugin which will add a RestHandler. I need to have my own setting for the plugin which should be generated automatically if not preset.
I should be able to see the setting and update it if needed.
Is any standard way to store such settings in ES, or should I implement my own handler to do all this?
Thank you,
Eugene