def METHOD_NAME(mongo_client: MongoClient) -> Iterable[Mapping[str, Any]]:
    encrypted_credentials = []
    # Loop through all databases and collections and search for credentials. We don't want the tests
    # to assume anything about the internal workings of the repository.
    for collection in get_all_collections_in_mongo(mongo_client):
        mongo_credentials = collection.find({})
        for mc in mongo_credentials:
            del mc["_id"]
            encrypted_credentials.append(mc)
    return encrypted_credentials