Basic Authentication

This topic describes the steps for using Basic Authentication.

Basic authentication uses a username – password pair. The Authentication header must use the ‘Basic’ authentication scheme name as defined in RFC-7617, followed by a Base64 encoded user-id:password string.

Example: Authentication: Basic Base64Encoding (Joe:123456)

To use this authentication method, you must first create a role for the REST API user, then create an ECC user for the REST API as follows:

Create a role for the REST API user

  1. In ECC Admin Console, from the menu in the upper-right, select Users and Roles.

  2. In the Roles section of the dialog, click the New Role button.

  3. In the Roles dialog, enter a name for the new Role and enable the following permissions:

    • Manage existing jobs

    • Create new collections

    • Manage templates and configurations

  4. Click OK.

Create an ECC user for the REST API

  1. In ECC Admin Console, from the menu in the upper-right, select Users and Roles.

  2. In the Users section of the dialog, click the New User button to display the New User dialog.

  3. Enter a Username and Password.

  4. Enable the Login high-level API option, so the user will have access to the ECC REST API.

  5. In the Selected Roles section, add the Role that was created in the steps above.

  6. Click OK.

The REST API is now enabled, and the username and password entered for this new user can be used in all REST calls.