The MySQL Keyring originally implemented keystore capabilities using server plugins, but began transitioning to use the component infrastructure in MySQL 8.0.24. This section briefly compares keyring components and plugins to provide an overview of their differences. MySQL Keyring最初使用服务器插件实现了密钥库功能,但开始过渡到使用MySQL 8.0.24中的组件基础设施。本节简要比较了钥匙圈组件和插件,以概述它们的差异。It may assist you in making the transition from plugins to components, or, if you are just beginning to use the keyring, assist you in choosing whether to use a component versus using a plugin.它可能会帮助您从插件过渡到组件,或者,如果您刚刚开始使用密钥环,它可以帮助您选择是使用组件还是使用插件。
Keyring plugin loading uses the 钥匙圈插件加载使用--early-plugin-load
option. Keyring component loading uses a manifest.--early-plugin-load
选项。钥匙圈组件加载使用清单。
Keyring plugin configuration is based on plugin-specific system variables. For keyring components, no system variables are used. Instead, each component has its own configuration file.钥匙圈插件配置基于插件特定的系统变量。对于钥匙圈组件,不使用系统变量。相反,每个组件都有自己的配置文件。
Keyring components have fewer restrictions than keyring plugins with respect to key types and lengths. See Section 6.4.4.12, “Supported Keyring Key Types and Lengths”.钥匙圈组件在钥匙类型和长度方面的限制比钥匙圈插件少。请参阅第6.4.4.12节,“支持的钥匙圈钥匙类型和长度”。