- 188.8.131.52 Keyring Plugin Installation
- 184.108.40.206 Configuring the keyring_file File-Based Plugin
- 220.127.116.11 Configuring the keyring_okv Oracle Key Vault Plugin
- 18.104.22.168 Supported Keyring Types
- 22.214.171.124 General-Purpose Keyring Key-Management Functions
- 126.96.36.199 Plugin-Specific Keyring Key-Management Functions
- 188.8.131.52 Keyring System Variables
MySQL Server supports a keyring service that enables internal server components and plugins to securely store sensitive information for later retrieval. The implementation is plugin-based:
MySQL 5.7.11 and higher includes the initial keyring plugin,
keyring_file, which stores keyring data in a file local to the server host. This plugin is available in all MySQL distributions, Community Edition and Enterprise Edition included.Warning
keyring_fileplugin for encryption key management is not intended as a regulatory compliance solution. Security standards such as PCI, FIPS, and others require use of key management systems to secure, manage, and protect encryption keys in key vaults or hardware security modules (HSMs).
MySQL 5.7.12 and higher includes
keyring_okv, a plugin that uses Oracle Key Vault for keyring backend storage. This plugin is available in MySQL Enterprise Edition distributions.
MySQL 5.7.13 and higher includes an SQL interface for keyring key management, implemented as a set of user-defined functions (UDFs).
InnoDB storage engine uses the keyring to
store its key for tablespace encryption.
can use any supported keyring plugin.
For keyring installation instructions, see Section 184.108.40.206, “Keyring Plugin Installation”.
For information about using the keyring UDFs, see Section 220.127.116.11, “General-Purpose Keyring Key-Management Functions”.
Keyring plugins and UDFs access a keyring service that provides the interface for server components to the keyring. For information about writing keyring plugins or accessing the keyring plugin service, see Section 18.104.22.168, “Writing Keyring Plugins”, and Section 27.3.2, “The Keyring Service”.