Note
This parameter is available starting with V2.2.50.
Description
tde_method specifies the method for transparent tablespace encryption.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query the value of this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
The
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | String |
| Default value | none |
| Value range |
|
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Considerations
The column encryption feature is also controlled by the tde_method parameter. For more information about column encryption, see ENHANCED_AES_ENCRYPT and ENHANCED_AES_DECRYPT.
obcloud mode
Note
For V4.3.5 BP2, this mode is available starting with V4.3.5 BP2.
Starting from V4.3.5 BP2, you can use the obcloud option to enable the transparent encryption service to use a unified KMS proxy service to manage the primary key.
To use this option, perform the following steps:
Enable encryption: Use the
obcloudoption to enable the transparent encryption service to use a unified KMS proxy service to manage the primary key.ALTER SYSTEM SET tde_method = 'obcloud';Configure the parameters: Specify the required parameters for the KMS proxy service in the
external_kms_infoparameter.kms_host: the endpoint of the OceanBase Cloud KMS service.access_key_id: the AccessKey ID for signature authentication.access_key_secret: the AccessKey secret for signature authentication.cmk_id: the ID of the user's primary key.
Examples
Set the transparent tablespace encryption method to internal.
obclient> ALTER SYSTEM SET tde_method= 'internal';
Set the transparent tablespace encryption method to obcloud.
obclient> ALTER SYSTEM SET tde_method= 'obcloud';
References
For more information about transparent encryption, see Transparent encryption.