All pages
Powered by GitBook
1 of 5

Loading...

Loading...

Loading...

Loading...

Loading...

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.

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.

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

    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.

    Encrypting Galera Cluster's GCache

    Overview

    MariaDB Enterprise Server 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 Galera Cluster does not support data-at-rest encryption.

    However, MariaDB Enterprise Server 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:

    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
    • It integrates with HashiCorp Vault

    • It supports key rotation

    • It securely communicates with the remote KMS using TLS.

    • 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.

    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

    Amazon Web Services (AWS) KMS
    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
    InnoDB Data
    Aria Data
    Binary Logs
    here
    data-at-rest encryption
    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.