All pages
Powered by GitBook
1 of 5

Loading...

Loading...

Loading...

Loading...

Loading...

Encryption Plugins

MariaDB's encryption plugins provide transparent data encryption (TDE) for stored data, securing tablespaces and logs to protect sensitive information and meet compliance.

MariaDB Enterprise Server - Data-at-Rest Encryption

Data-at-rest encryption secures data on the file system.

Overview

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

Encryption Plugins

Topic
Resources

Storage Engine Encryption

Topic
Resources

Replication Cache Encryption

Topic
Resources

Additional information is available on the page.

Encrypting Galera Cluster's GCache

Overview

and MariaDB Community Server support , 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 does not support data-at-rest encryption.

However, 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:

Understanding the Amazon Web Services (AWS) KMS Encryption Plugin

The AWS KMS Encryption Plugin (aws_key_management) integrates with Amazon Web Services (AWS) KMS

When to Use the AWS KMS Encryption Plugin?

The AWS KMS Encryption Plugin (aws_key_management) allows you to:

  • Use to manage MariaDB's encryption keys.

The GCache can be automatically encrypted.

For more information, see the following resources:

MariaDB Enterprise Server 10.4
MariaDB Enterprise Server
Galera Cluster

Encrypt MariaDB data using those keys, including:

  • Galera Cluster's GCache

  • Rotate encryption keys.

  • Additional information is available .

    AWS KMS

    Encryption Plugins

    Choosing an Encryption Plugin

    HashiCorp Vault

    Amazon Web Services (AWS) KMS

    Understanding the AWS KMS Encryption Plugin

    File Key Management

    Binary Logs

    Galera Cluster Gcache

    Encrypting Galera Cluster's Gcache

    Choosing an Encryption Plugin

    Overview

    MariaDB Enterprise Server and MariaDB Community Server support , 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
    Feature
    HashiCorp Vault
    Amazon Web Services (AWS) KMS
    File Key Management\

    No

    • It integrates with HashiCorp Vault

    • It supports key rotation

    • It securely communicates with the remote KMS using TLS.

    Amazon Web Services (AWS) KMS

    • It integrates with AWS KMS

    • It supports key rotation

    • It must be compiled from source

    • Stores encryption keys in a local plain-text key file

    • The plain-text key file can be encrypted

    • It does not support key rotation.

    Supported by MariaDB Enterprise Server

    Yes

    Yes

    Yes

    Supported by MariaDB Community Server

    No

    Yes

    Yes

    Supports key rotation

    Yes

    Yes

    Enabling GCache Encryption
    Disabling GCache Encryption
    Data-at-Rest Encryption
    HashiCorp Vault and MariaDB
    Understanding the File Key Management Encryption Plugin
    InnoDB
    Encrypting InnoDB Data
    Aria
    Encrypting Aria Data
    Encrypting Binary Logs
    data-at-rest encryption
    InnoDB Data
    Aria Data
    Binary Logs
    here
    data-at-rest encryption
    HashiCorp Vault
    File Key Management

    This page is: Copyright © 2025 MariaDB. All rights reserved.

    This page is: Copyright © 2025 MariaDB. All rights reserved.

    This page is: Copyright © 2025 MariaDB. All rights reserved.

    This page is: Copyright © 2025 MariaDB. All rights reserved.