Torch Log Service
Encryption method | Description |
Service Key (SSE-TLS) | It is the default encryption method provided by TLS. It requires no additional configuration from users, enabling seamless encryption during usage. |
Customer Key (SSE-KMS) | It can generate, manage, and protect encryption keys via Key management service (KMS) from Volcano Engine; offers secure key storage, key generation, encryption operations, and key rotation. Features include:
|
Category | Supported operations | Unsupported operations |
Region | The primary key and TLS must be in the same region. | Do not support that the primary key and TLS are in different regions. |
IAM permissions | You must grant the user role permission for KMS encryption and decryption operations, KMS read-only access, and configure TLS trust relationships. | Encryption and decryption requests will fail due to insufficient permissions, invalid trust relationship, or deleted role. |
Types of key | KMS symmetric primary key is required. The specification must be SYMMETRIC_256 (recommended) or SYMMETRIC_128. | Asymmetric keys such as RSA_2048 or EC_SM2are not supported. |
Key status | The status of the key must be enable. | Keys in the following states are not supported to bind: Disabled, Archived, Pending Delete, or Pending Import. |
Binding method | The key must be bound using user_cmk_id (Customer Master Key ID). | Binding a key by Keyring name or Keyring ID is not supported. |
Modify encryption | Only enabling or disabling data encryption is supported. |
|
Delete/disable key | After the primary key is deleted or disabled, the CMK becomes invalid, and all read and write requests for the corresponding log topic will fail. | - |
Non-KMS key | When using external keys such as BYOK or CustomKeyring, you must complete CustomKeyring creation, key import, and activation in KMS in advance, and obtain the key ID. | TLS does not provide the capability to import key material, create Keyrings, or manage Keyrings. |
Encryption method | Description |
Service Key (SSE-TLS) | No billing item is generated. |
Customer Key (SSE-KMS) | First-time users need to activate the KMS service. Although activating KMS is free, using the service incurs fees. Using KMS for server-side encryption will incur API call fees. Creating KMS keys will incur key hosting fees, which are charged by KMS. For details, see KMS billing description. |
Encryption method | Use cases |
Service Key (SSE-TLS) |
|
Customer Key (SSE-KMS) |
|
API | API Description |
CreateTopic | |
ModifyTopic |
|
Parameters | Type | Required | Example value | Description |
EncryptConf | Object of EncryptConf | NOT | Data encryption structure. When not configured, the data encryption feature is disabled. |
Parameters | Type | Required | Example value | Description |
enable | Boolean | NOT | true | Enable data encryption.
|
encrypt_type | String | NOT | default | Encryption algorithm. Only default is supported. |
user_cmk_info | Object of EncryptUserCmkConf | NOT | / | Configure key information. Takes effect when enable is true.
|
Parameters | Type | Required | Example value | Description |
trn | string | NOT | trn:iam::123456789:role/service_role_for_tls | The TRN of the user IAM role. Log in to the IAM console. Click the role name under the Role Management tab and obtain the Role TRN in the Basic Information section. |
region_id | string | NOT | ap-southeast-1 | Region ID where the user master key is located. |
user_cmk_id | string | NOT | fc227edb-3682-4577-a3b5xxxxxxxxx | User main key ID. The Key ID of the key created through Key Management Service (KMS). |