Enables Transparent Data Encryption (TDE) for an instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardbx:UpdateDBInstanceTDE |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the instance. |
cn-hangzhou |
| DBInstanceName |
string |
Yes |
The instance ID. |
pxc-hzjasd**** |
| TDEStatus |
integer |
Yes |
Enables TDE. Set this parameter to 1. |
1 |
| EncryptionKey |
string |
No |
The custom key ID. If you do not specify this parameter, a key is automatically generated by the backend. |
RkVBNURDMjAtNkQ4QS01OTc5LTk3QUEtRkM1NzU0Nk****** |
| RoleArn |
string |
No |
The global resource descriptor of the role. This parameter specifies the role to assume. For details, see RAM role overview. |
acs:ram::1406926****:role/aliyunrdsinstanceencryptiondefaultrole |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
FEA5DC20-6D8A-5979-97AA-FC57546ADC20 |
| Data |
object |
The response information. |
|
| TaskId |
string |
The backend task ID. |
42292**** |
Examples
Success response
JSON format
{
"RequestId": "FEA5DC20-6D8A-5979-97AA-FC57546ADC20",
"Data": {
"TaskId": "42292****"
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | IncorrectEngineVersion | The current engine version does not support the operation. | The current engine version does not support the operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.