Which secrets should you rotate after possible AI prompt exposure?

Prioritize credentials that could have appeared in model inputs, tool results or generated outputs.

Imagine an assistant summarizing a failed build. Its prompt may contain the build log, and the log may contain a signed download URL. Rotating only the AI gateway key would leave that download link usable until expiry.

Trace the credential to its issuer

Inventory live tokens, passwords, session links and signing credentials by issuer and privilege. Replace an affected service credential in the consuming application, test the replacement, then revoke the old credential. For an actively abused credential, follow your emergency revocation procedure. Check the issuer’s audit trail over the exposure window.

Compare OpenRouter alternatives · Can AI outputs and tool results expose private data?