Note: An API token has all of the permissions/policies as the user
that created the API token.
To create an API token:
- In LiveWire, click API Tokens from the Admin menu. The API Tokens page
appears.Note: The API Tokens menu item is only available if ACL is disabled or if the Configuration: Configure API Tokens ACL policy is enabled. For more information, refer to Capture Engine Access control configuration.
- Click Insert. The Insert API Token dialog appears.
- Configure the dialog:
- Label: Enter a descriptive label for the API token. A descriptive label helps you to identify the API token.
- Enabled: Select the check box to enable the API token.
- Expiration Time: Click the Select date and Select time icons to set the date and time in which the API token expires and can no longer be used.
- Click OK. A blue banner appears and displays the API token along with its
Label. You can now use the new token from the blue banner for REST-API
authentication.Important: Copy the token from the blue banner and save it to a safe location. For security reasons, the token will not be displayed again.