API Keys
The API key enables you to directly use HiddenLayer’s API endpoints to get the full AI Security Platform experience.
Create API Key
-
In the HiddenLayer Console, go to Settings > API Keys.
-
Click + New.

-
Enter a name for the API key, select an expiration, then click Next.

-
Select the permissions for each category, then click Create API Key. You can select a combination of Read, Write, and Delete permissions, or click All to allow all permissions for the selected category.
See the API Permissions and API Resources tables below for more information.
Not selecting any permissions will create an API key with all permissions enabled.

- A unique API key is generated. The
clientIDandclientSecretinformation is displayed. Click on the copy icon and save into a password manager or to a file in a secure location.
It is important to save this information because you cannot retrieve it in the future.

- After saving this information, click Close.
Expired API Key
When an API key is created, an expiration is set. When an API key expires, it is securely deleted and automatically removed from the Console.
Delete API Key
-
On the API Keys page, click the three vertical dots for the API key you want to delete.

-
Click Delete. A message displays, asking you to confirm deleting the key.

-
Click Delete.
When should I create a new API key?
API keys are highly secure assets and should be treated as such. Below are examples of when new API keys need to be created. This list is provided as examples based on best practices, and is not exhaustive. We recommend reviewing your own company policies around such requirements.
API Resources
API Permission Related to Products or Features
Some HiddenLayer products require an API key and secret. The following table covers the API Permissions needed for a product deployment or a product feature.