Only the column
Mark the fields that need it — national ID, account number, email, card number. The other columns stay readable. Unlike disk encryption, a database login does not by itself reveal the protected field.
03 · Column encryption
AES-256-GCM on the sensitive columns of PostgreSQL, MySQL, and SQL Server. A data key and a key-encryption key stay apart, and a policy decides who can decrypt and when the key rotates.
Mark the fields that need it — national ID, account number, email, card number. The other columns stay readable. Unlike disk encryption, a database login does not by itself reveal the protected field.
Rotating a KEK re-wraps DEKs without rewriting the column data. Replacing a DEK re-encrypts the column, and reads continue during that pass. The manual also describes importing an external KEK and a self-hosted key store for networks that do not send data out.
A policy names the key, table, column, principal (role or service account), allowed operations, and rotation. Manage it from the CLI, the dashboard, or the REST API. Raw key bytes are not exported. Metadata such as name, algorithm, status, and schedule is.