Egg wash is often used in baking recipes to make pastries or other dough-based products shiny and golden-brown in appearance. It can also serve the purpose of helping toppings or seasonings stick to the dough. In this case, we use the egg wash both for the shiny golden-brown look and to help the coarse salt stick to the dough.