Creating a secret in a classification

You must create secrets in the classifications that is set in your project so that the members of the project with access to the secrets can use them in specific during an API Suite run.

Before you begin

You must have completed the following tasks:

About this task

You can also configure secrets such that the secrets can be used across different test environments by members with access to the classification. Secrets correspond to the environment variables or tags that you create in a Test Integrations and APIs project specific to an environment.

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. Click a classification for which you want to add the secrets under the Classification.
  5. Click Add Secret.
    The Add Secret dialog is displayed.
  6. Enter a name for the secret as its Identifier, and then enter the password as the Value for the secret.

    For example, enter the name of the secret to access a database as dbcred and enter the password required to access the database as its value.

  7. Click Create.

    A message is displayed that confirms the creation of the secret.

Results

You have created secrets in the selected classification for your project.

What to do next

  • You can view, edit, or delete the secrets added to a classification any time you want.
  • You can use the secrets in the tests that require these secrets during test runs.