This is a very important question. API keys let you connect your preferred trading bot with your Coinbase account. Due to these API keys, the bots are not able to withdraw literally any funds from your account.  This is the reason why almost all the crypto exchanges use API keys to connect your trading bots.