BuildWithHQ
Canonical knowledge unit · security

Secure fields, secrets, and disclosure

Sensitive values can be structurally excluded from normal search/AI paths, with decryption or disclosure treated as a separate privileged and auditable operation.

ID: BWHQ-SEC-003Status: currentAuthority: highencryptionsecretsdisclosureai-exclusion

Secure fields, secrets, and disclosure

Secure fields

A secure custom field stores encrypted content and cryptographic metadata. Plaintext is not left available to every downstream subsystem.

Consequences

Secrets

Raw refresh tokens, invitation tokens, password-reset tokens, API client secrets, MFA recovery values, Stripe secrets, and integration credentials must not be persisted as ordinary plaintext. Prefer hashes for one-time authentication tokens and a secret vault/encrypted service boundary for credentials that must later be used.

Machine-readable source: canonical Markdown. This HTML companion exists for human reading, search indexing, and AI retrieval.