def _generate_header():
    """
    Generate a NS1 API header and return it as a dictionary

    :return: Dict of header parameters
    """
    api_key = current_app.config.get("ACME_NSONE_KEY")
    headers = {'X-NSONE-Key': api_key}
    return headers

    Generate a NS1 API header and return it as a dictionary

    :return: Dict of header parameters
    
lemur/plugins/lemur_acme/nsone.py