Report this

What is the reason for this report?

How to encrypt data at rest for PostgreSQL database?

Posted on November 24, 2020

As I read this article https://www.digitalocean.com/blog/announcing-managed-databases-for-postgresql/ I understood that all data at rest and in transit is encrypted. Could somebody provide me with more information about setting up the encryption?

Is the encryption set up by default for my PostgresSQL? If not, is there any tutorial on how to set it up? Is it possible to use at least the AES256 encryption key?

Thank you



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @viktorhrtanek,

Managed Database data is encrypted at rest with LUKS and in transit with SSL. This means all data is unreadable outside of the cluster until sent purposefully.

When you allow inbound sources (such as Droplets, Kubernetes nodes, or external IP addresses) to the database, the inbound source is presented with decrypted data when requesting it. All of the data is still encrypted while on our network, so any man in the middle trying to snoop your information will be unable to do so.

You can check our below product documentation which can provide more details about PostgreSQL Managed database.

https://docs.digitalocean.com/products/databases/postgresql/

Regards, Rajkishore

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.