You can tell the staff at check-in that you are setting up a cash account, and then, when you get on the ship, go to guest relations and give them your credit card.
A number of years ago, some credit cards were compromised by a rogue staff member in Fort Lauderdale. At that point I began waiting until I got on the ship to present my credit card.