def connect(email, apikey):
    """ Forms the header parameters for authenticating with the v2 api. """
    headers = {'Host': 'data.usajobs.gov',
               'User-Agent': email,
               'Authorization-Key': apikey}
    return headers