def env_override_admin_secret(monkeypatch, generated_admin_secret):
    """Override Data Catalog admin secret using os.environ
    """
    gen_key = generated_admin_secret
    monkeypatch.setenv('CATALOG_ADMIN_TOKEN_SECRET', gen_key)
    return gen_key