Creating API tokens¶
If you are going to perform orchestration of Paragon Active Assurance tasks through the REST API, you need to create an authorization token for that API. This is done as follows:
Click your user name in the top right corner of the screen, and select Edit profile.
Select the API tokens tab.
Click the Add button.
A new token is generated and added to the list API tokens created by me (multiple tokens can be defined). Name it as desired in the Name column.
Note
The value of the API token is visible only at creation time. Therefore you must note it down to be able to use the token later on.
You will need to include this token in all code calling the REST API, as well as when calling the REST API through the API browser provided. See the document “REST API Orchestration Guide” for further information.
If you are not an admin user, you will only see a list of API token objects that you have created yourself. (What is shown is metadata such as creation time, not the token string itself.) However, if you are an admin user you will see a second table here named API tokens with access to account, listing all API tokens defined by users in the account. You can delete any tokens here as appropriate when permissions are to be revoked.