This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new e591ce6fe92 branch-4.0: [enhancement](tde) add configuration for TDE 
key rotation #58171 (#58203)
e591ce6fe92 is described below

commit e591ce6fe92fe9871b80cf273be76c2c4fb57785
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Nov 22 17:38:40 2025 +0800

    branch-4.0: [enhancement](tde) add configuration for TDE key rotation 
#58171 (#58203)
    
    Cherry-picked from #58171
    
    Co-authored-by: Luwei <[email protected]>
---
 .../src/main/java/org/apache/doris/common/Config.java      | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/fe/fe-common/src/main/java/org/apache/doris/common/Config.java 
b/fe/fe-common/src/main/java/org/apache/doris/common/Config.java
index eff7bb28b33..57d12602f4f 100644
--- a/fe/fe-common/src/main/java/org/apache/doris/common/Config.java
+++ b/fe/fe-common/src/main/java/org/apache/doris/common/Config.java
@@ -3654,6 +3654,20 @@ public class Config extends ConfigBase {
     })
     public static String doris_tde_algorithm = "PLAINTEXT";
 
+    @ConfField(mutable = true, description = {
+            "数据加密自动rotate master key的时间间隔,单位为毫秒,默认间隔是一个月",
+            "The time interval for automatic rotation of the master key in 
data encryption, in milliseconds."
+                    + "The default interval is one month."
+    })
+    public static long doris_tde_rotate_master_key_interval_ms = 30 * 24 * 
3600 * 1000L;
+
+    @ConfField(mutable = true, description = {
+            "数据加密检查是否要rotate的时间间隔,单位为毫秒,默认间隔是五分钟",
+            "Data encryption checks whether to rotate the time interval in 
milliseconds, "
+                    + "and the default interval is five minutes."
+    })
+    public static long doris_tde_check_rotate_master_key_interval_ms = 5 * 60 
* 1000L;
+
     @ConfField(mutable = true, description = {
         "数据质量错误时,第一行错误信息的最大长度,默认 256 字节",
         "The maximum length of the first row error message when data quality 
error occurs, default is 256 bytes"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to