All Products
Search
Document Center

Simple Log Service:EncryptConf

Last Updated:Nov 13, 2024
ParameterTypeDescriptionExample
object

The data structure of the encryption configuration.

enableboolean

Specifies whether to enable data encryption. Valid values:

  • true
  • false
true
encrypt_typestring

The encryption algorithm. Valid values: default and sm4. If enable is set to true, you must configure this parameter.

default
user_cmk_infoEncryptUserCmkConf

Optional. If you configure this parameter, the bring-your-own-key (BYOK) key is used. If you do not configure this parameter, the service key of Simple Log Service is used.

{ "cmk_key_id" : "f5136b95-2420-ab31-xxxxxxxxx" "arn" : "acs:ram::13234:role/logsource" "region_id" : "cn-hangzhou" }