Get service account credentials and authentication details

Black Duck Portal documentation

How to retrieve the credentials and authentication information needed to integrate your application with a service account.

Important:

This Early Access release of the Black Duck Portal focuses on essential functionality, providing access to Black Duck®Continuous Dynamic™ and the Black Duck Community. Future development will expand the portal's capabilities to include all of Black Duck’s online products and resources. Access to this release is restricted. If your company is interested in being considered as a candidate, please reach out to your Sales Representative.

Note: Only Organization Admins can complete these steps.
  1. In Black Duck Portal, go to the Service Accounts tab.
  2. Select the options Options icon next to the account, and then select Manage Secrets.
    Tip: Use the search field to search for account names, descriptions, client ID, or audience.
    Figure 1. Manage Client Secret windowThe Manage Client Secret window, showing the Client ID, Tenant ID, and Client Secret fields and the sample cURL command.
Here, you can find and copy the account's:
  • Client ID
  • Tenant ID
  • Client Secret

Additionally, the cURL command near the bottom of the window demonstrates how to request access tokens for your service account (a reference implementation of the OIDC token endpoint request that your application needs to make programmatically).

Tip: You can run the cURL command directly to test authentication and verify your service account is configured correctly. Tokens obtained this way expire after 24 hours.