Keep service secrets private

Handle third-party credentials without placing them in chat or app files.

By Apirex Team · Updated

  1. Use the connected backend’s secrets interface for private service credentials.
  2. Have server-side code read them only for the intended operation.
  3. Return only the result the app user needs, never the secret.
  4. 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.