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

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.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Link to this section 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