You apply a custom access level to an API key when granting access to your integrations.

Note: Select a user role from the Custom Access Level drop-down menu for testing purposes only. User roles can contain unversioned APIs. For information on all currently supported and versioned APIs, see Carbon Black Developer Network.

Prerequisites

Create a custom access level. See Create Access Levels.

Procedure

  1. On the left navigation pane, click Settings > API Access.
  2. Click the API Keys tab and click Add API Key.
  3. Enter a name for your API Key and a short description.
  4. Select Custom from the Access Level Type drop-down menu.
  5. Select either a user role or an access level that is available in your organization from the Custom Access Level dropdown menu.
  6. Add authorized IP addresses.
    You can restrict the use of an API key to a specific set of IP addresses for security reasons.
  7. To apply the changes, select Save.

Results

The newly created API key displays in the API Keys tab.
Note: It is important that you safeguard the API ID and API Secret key. The API Secret key is only displayed once at the time of creation; you should store it in a secure manner. It can be regenerated using the Generate New Credentials instructions.

What to do next

Use the Actions column to edit the API key, or the dropdown menu to view the associated API key credentials and notifications history.