Add your shallots, rosemary, thyme and lemon peel to a sterilised jar.
In a small saucepan heat the black peppercorns, cider vinegar, water, salt and sugar until the sugar is dissolved. Pour over the shallots and herbs, making sure they are covered and seal the jar. Leave for 4-6 weeks, or longer, before eating.