An API Token scheme uses a uniquely generated value that is known to the system to identify a user attempting to access the system. The API key sent either in the header or query authenticates a user and allows the request to the system.
It is a widely used method that provides a reasonably good security for accessing REST APIs. Parameter types for an API Token scheme can be defined for use in custom headers or in query strings.
To create an API token scheme, follow these steps.
In a project, select Home > Auth. Scheme. Alternatively, to edit directly within a specific Connector configuration, go to Connectors > Edit Connector > Enable Authentication.
Select API Token.
In the Create new Authentication Scheme page, enter the following:
A descriptive name for the scheme to be used to identify it when editing a data source.
Select a parameter type (header or query).
Enter the parameter name.
The new scheme appears in the list of authentication schemes.
Dismiss the confirmation dialog.