Managing secrets

You can view, edit, or delete the secrets configured under a classification any time after you created secrets or after you were granted access to the secrets classification. You can change the value of the secret by editing the secret. You can delete secrets that you no longer require in your test environment.

Before you begin

You must have completed the following tasks:

  • You must have created a project on Test Hub and configured a secrets in your project.
  • You must have created secrets in the selected classification or the classifications must contain secrets.
  • You must be a member with access to the secrets classification.

Procedure

  1. Log in to Test Hub.

    The team space that contains your project is displayed.

  2. Click Active projects > My projects > project_name to open the project that contains the test assets.

    The Overview page of the project is displayed.

  3. Click Manage > Security.
    The Security page is displayed.
  4. Perform the following steps:
    1. Select the Classification from the list in the Security page.
    2. Optionally, select the classification that you want from the list if there are multiple classifications in the project.

    The secrets configured in the selected classifications are displayed.

  5. Complete the steps for the task you want to perform as listed in the following table:
    Task Action

    Viewing a secret value

    Click the View icon Image of the show password icon. inline with the secret to view the entered value. The value most likely is a password for the secret.

    The value configured for the secret is displayed.

    Editing a secret value

    Perform the following steps:
    1. Click the Edit icon Image of the edit icon. inline with secret that you want to edit,

      The Edit secret dialog is displayed.

    2. Enter a new value for the secret as its Value. The value can be a password for the secret.
      Note: You can only change the value of the secret.
    3. Click Save.

      The value of the selected secret is changed.

    Deleting a secret

    Perform the following steps:

    1. Click the Delete icon Image of the delete secret icon. inline with the secret that you want to delete.

      The Delete secret dialog is displayed.

    2. Click Delete.

      After you delete the secrets, the secrets listed in the classification is removed from the list.

Results

  • You viewed the password configured of the secret under a classification that you created or were granted access.
  • You changed the secret value of the secret under a classification in your project.
  • You deleted and removed the secret from the selected classification in your project.

What to do next

You can use secrets in the tests that require these secrets during test runs.