How to encrypt data at rest for PostgreSQL database?

As I read this article 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

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.

Regards, Rajkishore