DM的secret-key-path该如何配置

【 TiDB 版本】8.1.0
dmctl encrypt 要求配置 secret-key-path
[tidb@tgypt-xx13d002-cs76w conf]$ dmctl encrypt “abcded”
Error: secret key is not initialized

使用tiup dm edit-config 配置master server该参数 报错

修改conf目录下的toml文件 添加 secret-key-path = “/path/to/secret/key” ,reload后文件内容就又没了

Last login: Thu May 30 17:31:22 2024
[tidb@tgypt-xx13d002-cs76w ~]$ dmctl --version
Release Version: v8.1.0
Git Commit Hash: 137ed650cc3fcd04ed31b4e7978dccebc087330d
Git Branch: HEAD
UTC Build Time: 2024-05-20 13:04:17
Go Version: go version go1.21.10 linux/arm64
Failpoint Build: false

tiup dm display dm_test
Starting component dm: /home/tidb/.tiup/components/dm/v1.15.1/tiup-dm display dm_test
Cluster type: dm
Cluster name: dm_test
Cluster version: v8.1.0
Deploy user: tidb
SSH type: builtin

按照如下方式配置

config:
  secret-key-path: /xx/xx/keyfile
1 个赞

此话题已在最后回复的 60 天后被自动关闭。不再允许新回复。