Checkout.com interview question

Why would you hash an API key when storing in the DB?