# path to ckan config file
CKAN_CONFIG = '/home/okfn/pyenv/src/ckan/ckan.ini'

# directory to save downloaded files to
ARCHIVE_DIR = '/tmp/archive'

# Use this user name when requesting data from ckan
ARCHIVE_USER = u'okfn_maintenance'

# Max content-length of archived files, larger files will be ignored
MAX_CONTENT_LENGTH = 500000

# URL to the CKAN instance
CKAN_URL = 'http://127.0.0.1:5000'

# API key for the CKAN user that the archiver will authenticate as.
# This user must be a system administrator
API_KEY = ''

# directory to save downloaded files to
ARCHIVE_DIR = '/tmp/archive'

# Max content-length of archived files, larger files will be ignored
MAX_CONTENT_LENGTH = 500000

Change settings to use API key and CKAN URL