In most ports I have never been asked for my passport. However, San Juan Puerto Rico, was the exception. We had to show them before they would let us through the gate to get back on the ship. My friend left his in his room and I had to go and get it and bring it back for him.