Open mzhang77 opened 1 month ago
A DM worker may replicate to different TiDB cluster with different password. And I'm not sure if environment variables are loaded at process start. If so, when need to change downstream password we need to restart DM workers. 🤔
also cc @OliverS929
Is your feature request related to a problem?
ight now, dm requires storing password in config file:
This is still unsafe.
Describe the feature you'd like
DM to read password from environment variable. For example:
When use it, user need to set the environment variable first:
Describe alternatives you've considered
There are ways to workaround this security breach, but it's nice if DM can handle it.
Teachability, Documentation, Adoption, Migration Strategy
No response