The skin of salamanders secretes mucus . This helps to keep the animal moist when on dry land , and maintains their salt balance while in water , as well as providing a lubricant during swimming . The skin of salamanders secretes mucus , which helps keep the animal moist when on dry land , and maintains their salt balance while in water , as well as providing a lubricant during swimming .