def METHOD_NAME(auth_client, dao, user):
    dao.create_api_key(
        user.id,
        BaseApiKey.model_validate(dict(description="user-key", roles=[])),
        "user-key",
    )
    response = auth_client.get("/api/api-keys")
    assert response.status_code == 200
    returned_keys = {key["description"]: key["roles"] for key in response.json()}
    assert len(returned_keys) == 1
    assert "user-key" in returned_keys
    assert returned_keys['user-key'] is None