System, method, and computer-readable medium for cryptographic key rotation in a database system
Abstract
A system, method, and computer-readable medium that facilitate key rotation without disrupting database access are provided. Generation identifiers that specify a particular encryption key are stored in association with cipher text of encrypted columns in database tables. When data is to be read from an encrypted column, the cipher text is read along with the associated generation identifier. An encryption key corresponding to the generation identifier is then read to decrypt the cipher text. When data is to be written to the encrypted column, a most recent encryption key is retrieved from the key repository to encrypt the data. The cipher text is then written to the encrypted column in association with the generation identifier of the key used to encrypt the data. Advantageously, the key rotation may be performed without requiring that the table or database to be taken offline or otherwise unavailable during key rotation.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 12.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of encryption key management in a database system deployed in a computer system, comprising: storing a plurality of encryption keys each respectively in association with a generation identifier; encrypting respective data of rows of a column of a database table using a respective one of the plurality of encryption keys; and for each encrypted row of the column of the database table, storing, in the database table, cipher text resulting from encryption of the respective data and a respective generation identifier, wherein each respective generation identifier is configured to indicate
- Claim 2Depends on #1
The method of claim 1 , wherein storing a plurality of encryption keys comprises storing the plurality of encryption keys in an encryption key repository that is communicativel
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗