AI API security and privacy checklist for production teams
AI API security starts with the same basics as any production API: protect credentials, scope access, log only what you need, and review vendor data handling before sending user traffic.Key questions before production
Rock API data handling summary
Rock API does not store or log prompts and completions. Requests are forwarded to upstream providers in real time, and responses are streamed back to the caller. Rock API retains billing metadata needed to calculate usage, such as token counts, model used, and timestamp. For the full policy, read Security and privacy.API key management best practices
- Store API keys in a secret manager or environment variables.
- Never commit keys to Git.
- Rotate keys after employee offboarding or suspected exposure.
- Use separate keys for local development, staging, and production.
- Remove unused keys and review access regularly.
- Monitor usage spikes that may indicate accidental exposure.
