Skip to main content

storage.yaml - Hyland Nuxeo

This section explains how to set up the configuration in storage.yaml to connect from aqishare to Hyland Nuxeo. It includes detailed instructions for specifying the connection parameters and handling authentication to ensure a successful integration with the Nuxeo repository.

Parameter Overview

The table outlines the available parameters in storage.yaml for specifying a connection to Hyland Nuxeo.

tip

Use the parameter name to introduce a new item in the context of YAML syntax. This can be useful for easier identification, as this name is referenced in other configuration files (e.g. Tasks).

ParameterMandatoryTypeDefaultDescription
nameYesstringThe value must be unique and should not contain special characters; only alphanumeric characters (0-9, A-Z) and dashes are allowed.
typeYesstringThe type of the repository that should be connected. Since the connection routes to Nuxeo, the value must be nuxeo.
baseUrlYesstringThe URL for logging into Nuxeo, including the port number.
authYesObjectSpecifies the authentication credentials.
Refer to the Configure Authentication section below.
apiUrlNostringapi/v1The URL for the Nuxeo REST endpoint.
proxyNostringSpecifies the URL to the proxy server.

Configure Authentication

For authentication (see parameter auth in the table above), two methods are currently available: Basic Authentication, which uses a straightforward username and password mechanism, and Keycloak, a robust identity and access management solution that supports multiple authentication protocols.

Basic Authentication

To utilize basic authentication, set up the parameter as follows.

ParameterMandatoryTypeDescription
typeYesstringThe authentication type to be used. Since the connection is the basic authentication in this case, the value must be basic.
userYesstringThe user that should be used to log in to Nuxeo. We recommend creating a separate Nuxeo user for the connection.
passwordYesstringThe password for the user above. To enhance security, the password can be encrypted. Refer to Password Encryption.
Example
  auth:
type: basic
user: Administrator
password: T_fGf567_G8DMdV3JWTs6!A3_cZG

Keycloak Authentication

Parameter to configure the use of Keycloak, the open-source identity and access management system, for authentication.

ParameterMandatoryTypeDescription
typeYesstringThe authentication type to be used. Since the connection is the basic authentication in this case, the value must be keycloak.
authServerYesstringURL to the keycloak server.
realmYesstringSpecify which Keycloak security domain your application should authenticate against.
usernameYesstringThe user that should be used to log in to Keycloak.
passwordYesstringThe pasword for the username above.
clientSecretYesstringThe client secret.
clientIdYesstringThe client Id.
grantTypeNostringSpecify the method by which aqishare obtains authorization and an access token from the Keycloak server. Default: password.
Example
  auth:
type: keycloak
authServer: https://keycloak.myserver.com
realm: CompanyServices
username: keycloak_user1
password: A_990815f_1S8akco3JWTs6A99_cZG
clientSecret: ePq8Z5E6TG1lVbRpqMzHTA4D5Q2bZ6e4
clientId: 82ca0c64-d83e-4b45-ad00-3b2c800
grantType: password

Example Configurations

These sample configurations include the most relevant properties as explained above.

Using Basic Authentication

An example with the minimum required settings to connect from aqishare to Nuxeo using Basic Authentication.

Example
- name: storage-nuxeo
type: nuxeo
baseUrl: http://nuxeo:8080/nuxeo
auth:
type: basic
user: Administrator
password: T_otPDG8DMAV3JWTs6!A3_cZG

Utilize multiple Connections

An example using two connections to two different Nuxeo systems (development and staging), where the Nuxeo development system uses Basic Authentication, and the Nuxeo staging system is connected through Keycloak.

Example
- name: storage-nuxeo-dev
type: nuxeo
baseUrl: http://dev.nuxeo:8080/nuxeo
auth:
type: basic
user: Administrator
password: T_otPDG8DMAV3JWTs6!A3_cZG
- name: storage-nuxeo-staging
type: nuxeo
baseUrl: http://staging.nuxeo:8080/nuxeo
type: keycloak
authServer: https://keycloak.myserver.com
realm: CompanyServices
username: keycloak_user1
password: A_990815f_1S8akco3JWTs6A99_cZG
clientSecret: ePq8Z5E6TG1lVbRpqMzHTA4D5Q2bZ6e4
clientId: 82ca0c64-d83e-4b45-ad00-3b2c800
grantType: password