Claude Code's settings.local.json: the ERP keys a ‘don’t ask again’ click saves
A practical guide for finance teams that run Claude Code against Xero, QuickBooks, Stripe, Odoo or a ledger database: how an approved command can leave the API key in .claude/settings.local.json, how it reaches git and Docker images, and how to find, rotate and prevent it. Based on Claude Code's documentation and research by Apiiro, GitGuardian and Sysdig, with an audit script we tested.