Manage API keys

Manage your Endor Labs API keys for automation.

Use this API reference to engage with Endor Labs services programmatically and enable any automation or integration with other systems in your environment. Users can generate API keys using endorctl or directly from the application’s user interface.

Create an API Key

To gain Rest API access to Endor Labs endpoints, you have to generate API credentials for your API user.

  1. From Manage, navigate to API Keys.
  2. Select Generate API Key.
  3. Enter a name to identify the API key.
  4. Select the permissions to apply to the API Key.
  5. Select the expiration date of the API key. This may be either 30, 60, or 90 days.

Using these credentials, you can configure Endor Labs scans in your CI/CD pipeline, or set up the Endor Labs Visual Studio Code extension. See scanning with endorctl and use Endor Labs extension in Visual Studio Code for details.

Delete an API Key

Delete the API keys that are expired or no longer in use.

  1. From Manage, navigate to API Keys.
  2. Find the API key, which you would like to delete.
  3. Select the trash can icon at the far right.
  4. Confirm deletion of the API key.

You can also delete API keys using endorctl.

endorctl api delete --resource=APIKey --name=<API_Key_Name>