Access Tokens
User Administrators of the Black Duck system need a mechanism to maintain and control access to Black Duck via access tokens. User access is often controlled via Single Sign-On integration, but access tokens are managed independently by Black Duck. Administrators need to ensure security of the system and therefore need the tools to revoke or reset access when required. This page allows the User Administrator to manage all access tokens by either curating the list manually or by setting up an automated purging schedule.
The list of access tokens is composed of the following:
-
Name: The name of the access token
-
Description: The description given to the access token.
-
Owner: The name of the user who created the access token.
-
Usage Count: The number of times the access token was used.
-
Last Generated: The date or time the access token was created or regenerated.
-
Last Used: The date or time the access token was last used.
Manual access token deletion
To delete access tokens from the list manually:
-
Log in to Black Duck with the User Administrator role.
-
Click .
-
Click Access Tokens.
-
Check the box next to any number of access tokens.
-
Click the Delete button. A Delete Token dialog box will appear.
-
Confirm the access token deletion by clicking the Delete button in the dialog box.
Setting up the automated access token purge job
To change the access token purge job setting:
-
Log in to Black Duck with the User Administrator role.
-
Click .
-
Click Access Tokens.
-
Set the desired period of time for the Maximum weeks of inactivity.
-
Check the Enable Auto Purge Job checkbox to activate the feature or remove the check to disable it.
-
Click either the Save button.
On-demand access token purge
You can also initiate an on-demand purge immediately by clicking the Purge Now... button. Clicking this button will open the Purge Access Tokens Now dialog box.
Select either of the following options:
-
Purge by weeks of inactivity: Set the time frame for the number of weeks of inactivity.
-
Purge all tokens: Will delete all created access tokens.
Click the Next button to continue the action.
The job responsible for conducting the access token purging is ApiTokenPurgeCheckJob.