Unable to create API key on CAS
search cancel

Unable to create API key on CAS

book

Article ID: 174740

calendar_today

Updated On:

Products

Content Analysis Software - CA

Issue/Introduction

After connecting to the Content Analysis System appliance over SSH and attempting to create an API key we face an error relating to the API key not being able to be created for the specified user.

CAS 2.4.x

An API key cannot be created for the specified user (testuser2)

 

CAS 2.3.x

405 Client Error: Method Not Allowed for url: http://localhost:9080/rapi/system/users/api_keys

 

Cause

In order to create an API key on the CAS appliance the specified username has to exist locally on the appliance as we're mapping the API key to that particular users profile.

Resolution

We will need to create the user locally on the CAS.

  1. Login to the web console of the CAS appliance
  2. Go Settings -> Users -> Local Users
  3. Click Add User and fill in the required details
  4. Click Add to create the user
  5. Click Save Changes to confirm and apply the changes