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

@ -63,7 +63,7 @@ describe("Create/Destroy Commands", function() {
res.data.relationships.servers.data.length.should.equal(1)
res.data.relationships.servers.data[0].id.should.equal("server4")
res.data.attributes.parameters.user.should.equal("maxuser")
res.data.attributes.parameters.password.should.equal("maxpwd")
res.data.attributes.parameters.password.should.equal("*****")
})
})