pynux and nxcli use the same config file format
since the configuration contains access credientials for Nuxeo, it is a good practice to make the file so that it can only be read by the current user, espcialy on multiuser systems. In unix, run this command. (other platforms...?)
chmod 600 ~/.pynuxrc
Basic authentication and token authentication are both supported.
[nuxeo_account]
method = token
X-Authentication-Token = xxx
[rest_api]
; pynux
base = https://nuxeo.cdlib.org/Nuxeo/site/api/v1
; js nxcli nuxeo-js-client
baseURL = https://nuxeo.cdlib.org/Nuxeo/
X-NXDocumentProperties = dublincore,ucldc_schema,picture
ucldc docs ☞ token authentication
[nuxeo_account]
user = api_username
password =
[rest_api]
; pynux
base = https://nuxeo.cdlib.org/Nuxeo/site/api/v1
; js nxcli nuxeo-js-client
baseURL = https://nuxeo.cdlib.org/Nuxeo/
X-NXDocumentProperties = dublincore,ucldc_schema,picture
Contact [email protected] if you have a use case that requires basic auth.