def METHOD_NAME(self, search_value, search_field, collection_id):
    """Return matching records whose search_field is equal to key.
    """
    # Prepare set of params for Bitwarden CLI
    params = ['list', 'items', '--search', search_value]
    if collection_id:
        params.extend(['--collectionid', collection_id])
    out, err = self._run(params)
    # This includes things that matched in different fields.
    initial_matches = AnsibleJSONDecoder().raw_decode(out)[0]
    # Filter to only include results from the right field.
    return [item for item in initial_matches if item[search_field] == search_value]