By far the simplest way to have that, is to design a creature that lives in extremely salty sea, essentially marinates in brine.
Imagine there was an inland sea that had some kind of extremely long lived crustacean. Over the millennia, the climate shifted, and the inland sea was cut of from most of it's freshwater sources, ans well as the ret of the ocean, and started drying. As it dried, the salt concentrated, until its water became thick, shallow brine that only a few creatures could survive in.
The Salt Crustacean is such a creature. Half-aquatic, it wades in shallow brine swallowing algae and insects from the surface. It metabolizes the salt away and allows it to dry into hard shell of salt on the outside of its body. Unlike normal crustaceans, the Salt Crustacean does not need to molt out of its shell, the salt continuously cracks and the gaps are filled with new crystals. Since the Crustacean is already extremely long lived/semi immortal, encased in crystal armor than no predator can gnaw through, and atop of that it is half-pickled in brine that kills most pathogens, it can live for tens of thousands of years, until it grows to the size of a small car, when the square-cube law crushes it under the heap of crystals on its back.
it could be that the creature's entire exoskeleton is near 100% salt, plus a little bit of chitin fiber to keep it together. It could also have lumps of salt in its stomachs to be used as grinding stones / abrasive salt gravel to grind food to pulp.