Encryption
At Rest Encryption
It is recommended that you encrypt data at rest. The layers of encryption available are listed below. Use multiple layers for higher levels of protection.
Hardware (Full Disk) Encryption
The system hardware itself or the operating system disk management may offer encryption of everything stored on physical media.
Container or Volume Encryption
The operating system or the volume management system may offer encryption of everything stored within containers/volumes, allowing for a more granular key control than hardware level.
For example, if using Amazon Elastic Block Store (EBS), encrypt the EBS.
Database Encryption
The database may offer encryption of everything it stores, allowing for a more granular key control than container or volume.
When using cloud-managed database services, refer to the key management guidelines provided by the offering.
File/Folder or Field-level Encryption
The operating system or database may offer encryption at the individual folder, file, or even field-level. This provides a highly granular key control, as decryption can be required for every field based on unique keys.
Application Encryption
Applications may be written so that encryption happens before data reaches the aforementioned layers, with keys managed entirely outside the service or system that is storing the data.
Messaging System (Kafka) Encryption
ESS’ services communicate with each other by sending messages through Kafka. ESS does not encrypt the content of Kafka messages; it relies on the Kafka deployment for encryption. With the Inrupt-provided Terraform, Kafka connections are encrypted in transit with TLS and authenticated with SASL/SCRAM, and the brokers encrypt their storage. If you run your own Kafka, enable TLS and encryption at rest on it.
For more information, see ESS' Kafka Configuration.
Transport Layer Security (TLS)
ESS supports TLS 1.2 and 1.3. By configuring your services to use TLS for ingress, you can ensure your data in transit is encrypted. If possible, configure remote services to use TLS encryption.
Last updated