Keep keys server-side
AI provider keys must stay in backend services or a secure AI gateway. They should never be placed in frontend code, browser storage, URLs, or public repositories.
- Server-side only
- No browser storage
- No public repos
Learn how to use AI tools safely without leaking API keys, private data, or sensitive business content.
AI provider keys must stay in backend services or a secure AI gateway. They should never be placed in frontend code, browser storage, URLs, or public repositories.
Send only the data needed for the task. Redact sensitive fields where possible, and avoid logging private content or provider tokens.
Use rate limits, usage budgets, retry rules, and human approval before AI output triggers expensive or high-impact actions.
Review an AI feature idea and list the secrets, private data, logs, rate limits, usage limits, and approval steps it needs.