Rotate a service account's secret

Black Duck Portal documentation

How to rotate a service account's secret in Black Duck Portal.

Important:

You may see Continuous Dynamic in Black Duck Portal even if it is not part of your organization’s subscription. Seeing the tile does not mean you have access to the product.

Unlike access tokens, which expire after 24 hours, client secrets do not expire automatically: they remain valid until you rotate them.

Important: We strongly recommend you rotate your service account secrets:
  • Every 30-90 days.
  • When team members with access to the secret leave your organization.
  • If you suspect a secret may have been exposed or compromised.
Note: Only Organization Admins can rotate service account secrets. A License Admin will not see or have access to Service Accounts in Black Duck Portal unless they are also assigned the Organization Admin role.
  1. In Black Duck Portal, go to the Service Accounts tab.
  2. Select the options Options icon next to the account you wish to modify, and then select Manage Secret.
    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 Rotate Secret button.
  3. Select Rotate Secret.
    CAUTION:
    Rotating a secret will invalidate the previous secret immediately, and cannot be undone. Ensure any applications using the old secret are updated with the new secret to avoid service disruptions.
    The new secret appears in the Client Secret field. Copy and store this secret securely.