def _generate_header():
    """
    Function to generate the header for a request.

    Contains the Authorization access_key obtained from the get_ultradns_token() function.
    """
    access_token = get_ultradns_token()
    return {"Authorization": f"Bearer {access_token}", "Content-Type": "application/json"}

    Function to generate the header for a request.

    Contains the Authorization access_key obtained from the get_ultradns_token() function.
    
lemur/plugins/lemur_acme/ultradns.py