A team must guarantee that regulated user data is never stored in plaintext. Which architecture satisfies the strongest requirement while still enabling audit and debugging?

Answer

Store full prompts and tool results encrypted, keep encryption keys tenant-scoped, and emit redacted audit events with deterministic correlation IDs

Explanation

Encrypting at rest with tenant-scoped keys preserves confidentiality, while redacted audit events enable operational traceability. Masking only logs leaves sensitive content exposed elsewhere, and “memory only” undermines compliance audit needs.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list