Re: Application Level Encryption - Mailing list pgsql-general

From Sam Gendler
Subject Re: Application Level Encryption
Date
Msg-id CAEV0TzDEFMPTngyAex5db41zNd83nzmL3w=qRuJkHtMaJMB_UQ@mail.gmail.com
Whole thread Raw
In response to Re: Application Level Encryption  (Michel Pelletier <pelletier.michel@gmail.com>)
Responses Re: Application Level Encryption
List pgsql-general


On Sun, Jul 5, 2020 at 11:41 AM Michel Pelletier <pelletier.michel@gmail.com> wrote:


I'm working on an approach where the decrypted DEK only lives for the lifetime of a transaction, this means hitting the kms on every transaction that uses keys.  It will be slower, but the time the decrypted key stays in memory would be minimized.

Watch out for KMS api quotas if you go that route.  Their docs don't state what the default quotas are, so you have to go to your quotas page in the console to find out, but they likely aren't very high and might well be exceeded by the transaction rate on even a relatively small db instance.

 

pgsql-general by date:

Previous
From: Michel Pelletier
Date:
Subject: Re: Application Level Encryption
Next
From: Michel Pelletier
Date:
Subject: Re: Application Level Encryption