Security model
API keys are project credentials. Treat them like passwords:- Do not expose secret API keys in browser-side code.
- Store keys in a server-side secret manager or environment variable.
- Rotate keys if they are leaked.
- Use separate keys for development, staging, and production.