Skip to content

Configuration

These are the options that can be specified in your .ini config file.

DateCite Credentials [REQUIRED]

DataCite Repository account credentials are used to register DOIs. A Repository account is administered by a DataCite Member.

Name Description Example
ckanext.doi.account_name Your DataCite Repository account name ABC.DEFG
ckanext.doi.account_password Your DataCite Repository account password
ckanext.doi.prefix The prefix taken from your DataCite Repository account (from your test account if running in test mode) 10.1234

Institution Name [REQUIRED]

You also need to provide the name of the institution publishing the DOIs (e.g. Natural History Museum).

Name Description
ckanext.doi.publisher The name of the institution publishing the DOI

Test/Debug Mode [REQUIRED]

If test mode is set to true, the DOIs will use the DataCite test site. The test site uses a separate account, so you must also change your credentials and prefix.

Name Description Options
ckanext.doi.test_mode Enable dev/test mode True/False

Note that the DOIs will still display on your web interface as https://doi.org/YOUR-DOI, but they will not resolve. Log in to your test account to view all your minted test DOIs, or replace https://doi.org/ with https://doi.test.datacite.org/dois/ in a single URL to view a specific DOI.

Other options

Name Description Default
ckanext.doi.site_url Used to build the link back to the dataset ckan.site_url
ckanext.doi.site_title Site title to use in the citation None