All Products
Search
Document Center

Simple Log Service:EncryptConf

Last Updated:Aug 28, 2026

Parameter

Type

Description

Example

object

The encryption configuration.

enable

boolean

Whether to enable data encryption. Valid values:

  • true

  • false

true

encrypt_type

string

The encryption algorithm. Valid values: default and sm4. Required when enable is set to true.

default

user_cmk_info EncryptUserCmkConf

Optional. If specified, the bring-your-own-key (BYOK) key is used. Otherwise, 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" }