code: function getPasswordObj (values, keys) {
    var passwordObj = {};
  
    (keys || Object.keys(values)).forEach(function (key) {
      passwordObj[values[key].password] = key;
    });
  
    return passwordObj;
  }
docs: Gets the password keys from some set of values.
  
  @param {Object} values
  @param {Array} keys optional
  @return {Object}
  @api private