def create_headers(conf_payload):
    """Create header.

    :param conf_payload: config payload
    :return: headers
    """
    partition_id = conf_payload["data-partition-id"]
    app_key = conf_payload["AppKey"]
    headers = {
        'Content-type': 'application/json',
        'data-partition-id': partition_id,
        'AppKey': app_key
    }
    return headers