6.4.4 The MySQL KeyringMySQL密钥环

6.4.4.1 Keyring Components Versus Keyring Plugins密钥环组件与密钥环插件
6.4.4.2 Keyring Component Installation密钥环组件安装
6.4.4.3 Keyring Plugin Installation密钥环插件安装
6.4.4.4 Using the component_keyring_file File-Based Keyring Component使用基于component_keyring_file文件的密钥环组件
6.4.4.5 Using the component_keyring_encrypted_file Encrypted File-Based Keyring Component使用基于component_keyring_encrypted_file加密文件的密钥环组件
6.4.4.6 Using the keyring_file File-Based Keyring Plugin使用基于keyring_file文件的密钥环插件
6.4.4.7 Using the keyring_encrypted_file Encrypted File-Based Keyring Plugin使用基于keyring_encrypted_file加密文件的密钥环插件
6.4.4.8 Using the keyring_okv KMIP Plugin使用keyring_okv KMIP插件
6.4.4.9 Using the keyring_aws Amazon Web Services Keyring Plugin使用keyring_aws亚马逊网络服务密钥环插件
6.4.4.10 Using the HashiCorp Vault Keyring Plugin使用HashiCorp保险库密钥环插件
6.4.4.11 Using the Oracle Cloud Infrastructure Vault Keyring Plugin使用Oracle云基础架构保险库密钥环插件
6.4.4.12 Supported Keyring Key Types and Lengths支持的密钥环钥匙类型和长度
6.4.4.13 Migrating Keys Between Keyring Keystores在Keyring密钥库之间迁移密钥
6.4.4.14 General-Purpose Keyring Key-Management Functions通用密钥环密钥管理功能
6.4.4.15 Plugin-Specific Keyring Key-Management Functions插件特定密钥管理功能
6.4.4.16 Keyring Metadata密钥环元数据
6.4.4.17 Keyring Command Options钥匙扣命令选项
6.4.4.18 Keyring System Variables钥匙扣系统变量

MySQL Server supports a keyring that enables internal server components and plugins to securely store sensitive information for later retrieval. The implementation comprises these elements:MySQL Server支持一个密钥环,使内部服务器组件和插件能够安全地存储敏感信息以供以后检索。实施包括以下要素:

Warning警告

For encryption key management, the component_keyring_file and component_keyring_encrypted_file components, and the keyring_file and keyring_encrypted_file plugins are not intended as a regulatory compliance solution. 对于加密密钥管理,component_keyring_filecomponent_keysring_encrypted_file组件以及keyring_fileskeyring_encrypted_file插件不打算作为监管合规解决方案。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).PCI、FIPS等安全标准要求使用密钥管理系统来保护、管理和保护密钥库或硬件安全模块(HSM)中的加密密钥。

Within MySQL, keyring service consumers include:在MySQL中,密钥环服务消费者包括:

For general keyring installation instructions, see Section 6.4.4.2, “Keyring Component Installation”, and Section 6.4.4.3, “Keyring Plugin Installation”. 有关钥匙圈的一般安装说明,请参阅第6.4.4.2节,“钥匙圈组件安装”第6.4.4.3节,“钥匙环插件安装”For installation and configuration information specific to a given keyring component or plugin, see the section describing it.有关特定于给定密钥环组件或插件的安装和配置信息,请参阅描述它的部分。

For information about using the keyring functions, see Section 6.4.4.14, “General-Purpose Keyring Key-Management Functions”.有关使用钥匙圈功能的信息,请参阅第6.4.4.14节,“通用钥匙圈钥匙管理功能”

Keyring components, plugins, and functions access a keyring service that provides the interface to the keyring. 钥匙圈组件、插件和函数访问提供钥匙圈接口的钥匙圈服务。For information about accessing this service and writing keyring plugins, see Section 5.6.9.2, “The Keyring Service”, and Writing Keyring Plugins.有关访问此服务和编写钥匙圈插件的信息,请参阅第5.6.9.2节,“钥匙圈服务”编写钥匙环插件

6.4.4.1 Keyring Components Versus Keyring Plugins
6.4.4.2 Keyring Component Installation
6.4.4.3 Keyring Plugin Installation
6.4.4.4 Using the component_keyring_file File-Based Keyring Component
6.4.4.5 Using the component_keyring_encrypted_file Encrypted File-Based Keyring Component
6.4.4.6 Using the keyring_file File-Based Keyring Plugin
6.4.4.7 Using the keyring_encrypted_file Encrypted File-Based Keyring Plugin
6.4.4.8 Using the keyring_okv KMIP Plugin
6.4.4.9 Using the keyring_aws Amazon Web Services Keyring Plugin
6.4.4.10 Using the HashiCorp Vault Keyring Plugin
6.4.4.11 Using the Oracle Cloud Infrastructure Vault Keyring Plugin
6.4.4.12 Supported Keyring Key Types and Lengths
6.4.4.13 Migrating Keys Between Keyring Keystores
6.4.4.14 General-Purpose Keyring Key-Management Functions
6.4.4.15 Plugin-Specific Keyring Key-Management Functions
6.4.4.16 Keyring Metadata
6.4.4.17 Keyring Command Options
6.4.4.18 Keyring System Variables