Keep service secrets private
Handle third-party credentials without placing them in chat or app files.
By Apirex Team · Updated
- Use the connected backend’s secrets interface for private service credentials.
- Have server-side code read them only for the intended operation.
- Return only the result the app user needs, never the secret.
- Rotate a credential if it was exposed in a public file, screenshot or message.
Public configuration such as a publishable client identifier is different from a private service key. If you are unsure, treat the value as private and check the service’s documentation. Never add an AI provider key to Apirex; project AI uses Apirex’s provided service.