Generating a New API Key in the Asset Manager GUI

API Key in GUI

The API Key available only in the Asset Manager API and CLI is now available from the GUI.  A user with MANAGE_USERS permission can create an API key for him- or herself or can create one for another user. Each key is a long string of 127 characters.

  1. Browse to  Settings > Users.
  2. Select a user.
  3. Click Edit.
  4. Click the API Key field to select Enable.
  5. Click OK on the confirmation that API Key has been enabled.
  6. Click the API Key field again to select Copy.
  7. Copy the key to your clipboard to paste it at login.
  8. Click Save.
    The API Key is enabled. Input it into the Password field when you next log in to Asset Manager.
  9. A user may only have one key at a time. Any user can have a key, but it's not required. All keys are unique.

The API commands to manage keys are . . .

Method API Command
GET GET /api/rest/management/user/{USERNAME}/apikey?create={true|false}
SET DELETE /api/rest/management/{USERNAME}/apikey

Substitute a valid user name for {USERNAME}

For the GET operation, create=true means to make a new key if one does not exist, and create=false means return null and do not create a new key, even if no key exists for that user.