View Source Mongo.PasswordSafe (mongodb-driver v1.5.0)

The password safe stores the password while parsing the url and/or the options to avoid it from logging while the sasl logger is activated.

The password is encrypted before storing in the GenServer's state. It will be encrypted before returning. This should help, that the password is not stored as plain text in the memory.

Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for GenServer.init/1.

Link to this function

set_password(pid, password)

View Source