> 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" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET 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?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
