Encryption in transit
Encryption in transit protects data as it moves between clients, applications, and database servers, preventing unauthorized access or tampering. In MongoDB Atlas, all network traffic is automatically encrypted using Transport Layer Security (TLS), enabled by default and required for every connection. The current default is TLS 1.2. Communication between Atlas cluster nodes is also secured with TLS to ensure data remains protected at every step.
MongoDB Enterprise Advanced also supports encryption in transit using TLS.
Learn more about Encryption in Transit →
Encryption at rest
Encryption at rest protects stored data by encrypting database files on disk, adding a critical layer of defense. In MongoDB Atlas, all customer data is automatically encrypted at rest with AES-256, leveraging the cloud provider’s native disk encryption and key management. Atlas also supports database-level encryption with customer-managed keys through AWS Key Management Service (KMS), Google Cloud KMS, or Azure Key Vault.
MongoDB Enterprise Advanced provides at-rest encryption through the WiredTiger storage engine with AES-256, configurable with a KMIP-compliant key management provider.
Encryption at Rest → MongoDB Enterprise Advanced and MongoDB Atlas
Encryption in use with Queryable Encryption
Encryption in use protects sensitive data while it is actively being processed by the database. This enables information to remain secure throughout its entire lifecycle beyond encryption at rest and in transit. MongoDB delivers this capability through Queryable Encryption, a groundbreaking, industry-first in-use encryption technology.
Queryable Encryption enables customers to encrypt sensitive application data, store it securely in an encrypted state in MongoDB, and perform expressive queries directly on the encrypted data. Prefix, suffix, and substring queries are supported in public preview, in addition to equality and range.
With Queryable Encryption, organizations can perform flexible text searches on encrypted data, such as matching partial names, keywords, or identifiers, without ever exposing the underlying information. Other key benefits include:
- Stronger data protection: Keep sensitive data encrypted during queries, reducing the risk of exposure and minimizing reputational or financial impact from security incidents.
- Enhanced regulatory compliance: Maintain encryption across the entire data lifecycle to help meet requirements such as GDPR and HIPAA, avoiding fines and strengthening customer trust.
- Improved operational efficiency: Protect data without relying on custom search solutions or external tools, reducing infrastructure complexity while maintaining application performance.
- Seamless developer experience: Queryable Encryption integrates natively into MongoDB’s query language, enabling advanced encrypted search without the need to rewrite application code.
- Integrated protection: Included with MongoDB at no additional cost, providing built-in encryption without requiring third-party solutions.
Learn more –> Queryable Encryption