The main components of white vinegar are acetic acid and water. Acetic acid is a very weak acid with little corrosiveness. Health pots are generally made of stainless steel, which has strong corrosion resistance. So white vinegar can be heated by electric kettle.
The main component of scale is carbonate such as calcium carbonate, and acetic acid in vinegar will react with it to generate water-soluble substances, minerals and carbon dioxide gas.