yannh / redis-dump-go

Backup & Restore your Redis server - FAST
MIT License
280 stars 58 forks source link

Update the password-value method #47

Open henan01 opened 11 months ago

henan01 commented 11 months ago

Update the password-value method from the original environment variable to the command line

yannh commented 10 months ago

Hi @995199148 , I'm not too keen on changing it this way, first it would be backwards incompatible (would break for everyone), second I'm not sure this would be much more secure. Could you expand on your needs and why the env var does not work for you? There is quite some literature around passing secrets to CLIs, I'd be willing to add another method that would be meaningfully safer on top of the environment variable.