The MySQL Keyring Important If you copy a parameter from the Oracle Cloud Infrastructure Console, the copied value may include an initial  https://  part. Omit that part when setting the corresponding  keyring_oci  system variable. For example, to load and configure  keyring_oci8 , use these lines in the server  my.cnf  file (adjust the .so  suffix and file location for your platform as necessary): [mysqld] early-plugin-load=keyring_oci.so keyring_oci_user=ocid1.user.oc1.. longAlphaNumericString keyring_oci_tenancy=ocid1.tenancy.oc1.. longAlphaNumericString keyring_oci_compartment=ocid1.compartment.oc1.. longAlphaNumericString keyring_oci_virtual_vault=ocid1.vault.oc1.iad. shortAlphaNumericString . longAlphaNumericString keyring_oci_master_key=ocid1.key.oc1.iad. shortAlphaNumericString . longAlphaNumericString keyring_oci_encryption_endpoint= shortAlphaNumericString -crypto.kms.us-ashburn-1.oraclecloud.com keyring_oci_management_endpoint= shortAlphaNumericString -management.kms.us-ashburn-1.oraclecloud.com keyring_oci_vaults_endpoint=vaults.us-ashburn-1.oci.oraclecloud.com keyring_oci_secrets_endpoint=secrets.vaults.us-ashburn-1.oci.oraclecloud.com keyring_oci_key_file= file_name keyring_oci_key_fingerprint=12:34:56:78:90:ab:cd:ef:12:34:56:78:90:ab:cd:ef For additional information about the  keyring_oci  plugin-specific system variables, see Section 6.4.4.18, “Keyring System Variables” . The  keyring_oci  plugin does not support runtime reconfiguration and none of its system variables can be modified at runtime. To change configuration parameters, do this: •Modify parameter settings in the  my.cnf  file, or use  SET PERSIST_ONLY  for parameters that are persisted to  mysqld-auto.conf . •Restart the server. 6.4.4.12 Supported Keyring Key Types and Lengths MySQL Keyring supports keys of different types (encryption algorithms) and lengths: •The available key types depend on which keyring plugin is installed. •The permitted key lengths are subject to multiple factors: •General keyring loadable-function interface limits (for keys managed using one of the keyring functions described in Section 6.4.4.14, “General-Purpose Keyring Key-Management Functions” ), or limits from back end implementations. These length limits can vary by key operation type. •In addition to the general limits, individual keyring plugins may impose restrictions on key lengths per key type. Table 6.26, “General Keyring Key Length Limits”  shows the general key-length limits. (The lower limits for keyring_aws  are imposed by the AWS KMS interface, not the keyring functions.) For keyring plugins, Table 6.27, “Keyring Plugin Key Types and Lengths”  shows the key types each keyring plugin permits, as well as any plugin-specific key-length restrictions. For keyring components, the general key-length limits apply and there are no key-type restrictions. Table 6.26 General Keyring Key Length Limits Key Operation Maximum Key Length Generate key 16,384 bytes (2,048 prior to MySQL 8.0.18); 1,024 for  keyring_aws 1429