In which file in the MoonBot terminal folder are the API keys and basic MoonBot terminal settings stored?

: File system

Such data is stored in the root folder of the MoonBot terminal in the BotConfig.bcfg file, which is the main file with bot settings, and also stores encrypted API key and API secret, profile parameters, location of sliders and checkboxes, bot colour theme type (light or dark), etc.
Ensure that the BotConfig.bcfg file is properly secured. Make a copy of this file on a USB flash drive and store it in a safe place.
The person in possession of this file and its password will have access to your keys!