AFAICT, you’re looking for the hsm_secret file that core lightning creates when you create the wallet the first time. This is the private key. I’m more of a lnd user so just going by the docs here.
https://github.com/ElementsProject/lightning/blob/master/doc/BACKUP.md
