Generating a New Client Secret

When using Ansys HPC Platform Services, a client secret is used to authorize clients and services to contact the Job Management Service. When a client or service attempts to talk to the Job Management Service, the client secret (stored in the client’s configuration) is passed to Keycloak (the authorization service). An access token is then returned, allowing communication to take place.

To generate a new client secret:

  1. Launch the Keycloak Admin Console.

  2. Select the rep realm.

  3. In the navigation pane, select Clients.

  4. In the Clients List, select the rep-impersonation client.

  5. Select the Credentials tab.

  6. Display the current Client secret value (for comparison later).

  7. Regenerate the client secret.

  8. Display the value to ensure that it is different from the previous one.

  9. Copy the secret (to Notepad, for example). You will need this value when configuring the Autoscaling Service.