set passwords via cli
taho2509 opened this issue · 1 comments
taho2509 commented
Is there a way to avoid hardcoding the connection password? I imagine something like this in the config:
{
"name": "NOclustermode",
"host": "{{HOST_VIA_ENV}}",
"port": 6379,
"cluster": false,
"password": "{{PASSWORD_VIA_ENV}}"
},
or in cluster mode:
{
"name": "clustermode",
"id": "P3Xid22b1df3a68101000846ecabc5fb73c",
"cluster": true,
"nodes": [
for {{HOST_ARRAY_VIA_ENV}} {
"host": "{{HOST_VIA_ENV}}",
"port": 6379,
"password": "{{PASSWORD_VIA_ENV}}"
},
],
}
Prompting for password isn't an option neither since the idea is not to know the password
p3x-robot commented
you can do it using docker