> 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/encrypting-galera-clusters-gcache.md).

# Encrypting Galera Cluster's GCache

## Overview

[MariaDB Enterprise Server](https://mariadb.com/docs/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 writes and decrypt it during reads, ensuring that the data is only unencrypted when accessed directly through the server.

In many versions of MariaDB Server, the GCache used by [Galera Cluster](https://mariadb.com/docs/galera-cluster/) does not support data-at-rest encryption.

However, [MariaDB Enterprise Server 10.4](https://github.com/mariadb-corporation/mariadb-docs/blob/main/release-notes/enterprise-server/old-releases/10.4) and later support an enterprise version of Galera 4, which adds support for encrypting the GCache.

In those versions, the GCache supports the following data-at-rest encryption features:

* The GCache can be automatically encrypted.

For more information, see the following resources:

* [Enabling GCache Encryption](/docs/galera-cluster/readme/mariadb-galera-cluster-usage-guide.md#enabling-gcache-encryption)
* [Disabling GCache Encryption](/docs/galera-cluster/readme/mariadb-galera-cluster-usage-guide.md#disabling-gcache-encryption)

<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/encrypting-galera-clusters-gcache.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.
