MXS-2813: Mask password values in output

The password values are now masked with asterisks. This tells whether a
password is set or not but it does not expose any information about the
password itself.
This commit is contained in:
Markus Mäkelä
2019-12-19 08:39:42 +02:00
parent f35664f903
commit a73b183555
4 changed files with 35 additions and 23 deletions

View File

@ -1048,7 +1048,7 @@ extern "C" MXS_MODULE* MXS_CREATE_MODULE()
CN_REPLICATION_USER, MXS_MODULE_PARAM_STRING
},
{
CN_REPLICATION_PASSWORD, MXS_MODULE_PARAM_STRING
CN_REPLICATION_PASSWORD, MXS_MODULE_PARAM_PASSWORD
},
{
CN_REPLICATION_MASTER_SSL, MXS_MODULE_PARAM_BOOL, "false"
@ -1084,7 +1084,7 @@ extern "C" MXS_MODULE* MXS_CREATE_MODULE()
CN_HANDLE_EVENTS, MXS_MODULE_PARAM_BOOL, "true"
},
{
CN_ASSUME_UNIQUE_HOSTNAMES, MXS_MODULE_PARAM_BOOL, "true"
CN_ASSUME_UNIQUE_HOSTNAMES, MXS_MODULE_PARAM_BOOL, "true"
},
{MXS_END_MODULE_PARAMS}
}