What options does Cassandra provide for encryption in transit and at rest?
Last updated
In transit: TLS via
client_encryption_options(client-to-node) andserver_encryption_options(node-to-node), using keystores/truststores with optional mutual TLS.At rest: open-source Cassandra lacks full SSTable encryption, so use OS/volume encryption (LUKS, dm-crypt). Some enterprise builds offer Transparent Data Encryption.
Use both: TLS stops network sniffing, while at-rest encryption protects stolen disks.
- https://cassandra.apache.org/doc/4.1/cassandra/operating/security.html
- https://axonops.com/blog/apache-cassandra-ssl-deep-dive/
- https://docs.datastax.com/en/astra-db-serverless/administration/customer-keys-overview.html
- https://docs.datastax.com/en/cassandra-oss/3.x/cassandra/configuration/secureSSLClientToNode.html
- https://binadit.com/tutorials/configure-cassandra-ssl-encryption-and-authentication
- https://www.instaclustr.com/blog/securing-apache-cassandra-with-application-level-encryption/
- https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html