> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/release-notes/enterprise-server/about/mariadb-enterprise-server-differences/mariadb-enterprise-server-data-at-rest-encryption/encryption-plugins/choosing-an-encryption-plugin.md).

# Choosing an Encryption Plugin

## Overview

MariaDB Enterprise Server and MariaDB Community Server support [data-at-rest encryption](/docs/server/security/encryption/data-at-rest-encryption.md), which secures data on the file system. The server and storage engines encrypt data before writing and decrypt during reads, ensuring that the data is only unencrypted when accessed directly through the server.

They support multiple encryption plugins, which are suited for different use cases.

| Encryption Plugin                                                                                                                                                                                                                                          | Description                                                                                                                                                        |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [HashiCorp Vault](/docs/server/security/encryption/data-at-rest-encryption/key-management-and-encryption-plugins/hashicorp-key-management-plugin.md)                                                                                                       | <ul><li>It integrates with HashiCorp Vault</li><li>It supports key rotation</li><li>It securely communicates with the remote KMS using TLS.</li></ul>              |
| [Amazon Web Services (AWS) KMS](/docs/release-notes/enterprise-server/about/mariadb-enterprise-server-differences/mariadb-enterprise-server-data-at-rest-encryption/encryption-plugins/understanding-the-amazon-web-services-aws-kms-encryption-plugin.md) | <ul><li>It integrates with AWS KMS</li><li>It supports key rotation</li><li>It must be compiled from source</li></ul>                                              |
| [File Key Management](/docs/server/security/encryption/data-at-rest-encryption/key-management-and-encryption-plugins/file-key-management-encryption-plugin.md)                                                                                             | <ul><li>Stores encryption keys in a local plain-text key file</li><li>The plain-text key file can be encrypted</li><li>It does not support key rotation.</li></ul> |

| Feature                                | HashiCorp Vault | Amazon Web Services (AWS) KMS | File Key Management\\ |
| -------------------------------------- | --------------- | ----------------------------- | --------------------- |
| Supported by MariaDB Enterprise Server | Yes             | Yes                           | Yes                   |
| Supported by MariaDB Community Server  | No              | Yes                           | Yes                   |
| Supports key rotation                  | Yes             | Yes                           | No                    |

<sub>*This page is: Copyright © 2025 MariaDB. All rights reserved.*</sub>

{% @marketo/form formid="4316" formId="4316" %}
