In June 2023, Expel made API key management a self-service affair. The Service Accounts page is the home for you to create, disable, and delete keys used to power custom connections with Workbench through the Expel API. Full API documentation is located here. To use our Python client and to get ideas about how to use the Expel API, click here.
You can create multiple Service Accounts to organize your API keys in Workbench. Each service account can create multiple API keys. All API keys under a service account share the role and restrictions of the service account.
Two levels of access are available when creating a new API key:
-
The Organization Admin has access to all API calls in Workbench.
-
The Organization Analyst lets you do non-administrative tasks in Workbench, like marking investigative actions complete or sending remediation actions to another tool, but not adding context or users.
For each level, you can make the API key read-only.
Create a new service account
-
In Workbench, go to Organization Settings > Service Accounts.
-
Give the service account a name, select its level of access, and whether or not it’s read only. Click Save.
-
In the upper right, click Generate New API Key for the newly created service account.
-
Give the API key a name and click Next.
-
Copy the API key.
Caution
You can't access this key again after you click Done. Make sure you copy the key and keep it in a secure location.
-
Click Done.
Edit a service account
-
In Workbench, go to the service account you want to edit. In the upper right, click the Generate API Key arrow and click Edit.
-
Do one or more of the following:
-
Change the name.
-
Change the role.
Note
Changing the role for the service account changes the role for any associated API keys.
-
Change if it's read-only.
-
-
Click Save when you're done.
Disable a service account
-
In Workbench, go to the service account you want to disable. In the upper right, click the Generate API Key arrow and click Disable. All associated API keys are disabled.
-
You can re-enable the Service Account and its API keys at any time by clicking Enable.
Delete a service account
Caution
Deleting the Service Account also deletes any associated API keys. Make sure the API key isn’t being used by any critical services or processes. You CANNOT undo a service account deletion.
-
In Workbench, go to the service account you want to edit. In the upper right, click the Generate API Key arrow and click Delete.
-
Click Delete.
Delete an API key
Caution
Make sure this API key isn’t being used by any critical services or processes. You CANNOT undo an API deletion.
Comments
0 comments
Article is closed for comments.