Create an access level
Go to your Carbon Black Cloud console, and open the Add Access Level panel from Settings > API Access > Access Levels tab.
Give the access level a unique name e.g.
Trelica Access(you will need this for creating your API Key) and give it a description.
From the table below, scroll down until you see the API Service Category. Some Service Categories have multiple permissions that can be configured.
Select the required permissions are required for each call. Permissions can be “Create”, “Read”, “Update”, and “Delete”.
Manage Users Read
Create an API key
To create an API Key, go to Settings > API Access > API Keys tab in the Carbon Black Cloud console.
Select Add API Key from the far right.
Give the API Key a unique name, and select the appropriate access level provided in the table above. If you select Custom, you will need to choose the Access Level you created in the prior section.
- Choose a name to clearly distinguish the API from your organization’s other API Keys. Example: Event_Forwarder_Test_Key
- You can also add Authorized IP addresses and a description. You can optionally add the Trelica IP addresses for enhanced security.
Hit save, and you will be provided with your API Key Credentials:
- API Secret Key
- API ID
If you need to view this at a later date you can view your credentials by opening the Actions dropdown and selecting API Credentials. This will reveal your API Secret Key and API ID.