Preheat the oven to 400 degrees F. Cut the thawed pastry into 6 equal rectangles, and place on a baking sheet lined with parchment paper. Set aside.
In a bowl of a stand mixer fitted with the paddle attachment, combine the cream cheese and powdered sugar. Cream together for 2 to 3 minutes. Add the vanilla and mix until fully combined.
Place the cream mixture into a pastry bag or Ziploc bag with the corner snipped off. Pipe filling down the center of each pastry.
In a small bowl whisk together the egg and water until combined. Brush the edges of each pastry with the egg wash.
Bake in a preheated oven for 10 to 12 minutes. Allow to cool for a few minutes before serving.
