Keep API keys on the server or in local secrets.
Use a server or local secret configuration for the client. Keep keys out of browser bundles, committed files, screenshots and shared logs. Give each connection a clear owner.
Review what your agent sends.
Prompts can include source files, tool results and conversation history. Decide which data the workflow may send before allowing it to read a larger workspace.
Know what your logs record.
Know whether logs contain request metadata, prompts, outputs or tool results. Limit access and remove secret values before sharing a diagnostic report.
If a key leaks.
Stop the affected client, revoke the exposed key in the console and inspect where it appeared. Create a replacement for the intended environment and verify a small request before resuming work.
Data retention and processing location are covered by the service terms.
Use the current account and service terms when evaluating retention, processing location or other data requirements. This public guide describes practices for your integration.