Secrets

Overview of how to use secrets to encode values and share with other users.

Secrets are created by a user and stored as encoded values. They can be used by other users as well, but the value won't event be presented on the UI as free (decoded) text, so those users won't see its original value.
Figure 1. Secrets table

The Secrets table (Figure 1) simply shows the name of the secret.

In the Details section, you can delete a secret by clicking the button.

Secret details

Figure 2. Secret details

From the secret details menu (Figure 2), you can manage data about your selected secret, such as update the name and value.

Create secret

A new secret can be added by clicking on the button. This opens the new secret dialog window (Figure 3).

Figure 3. Add new secret

To make a new secret, you must:

  1. Assign it a name which will be used to refer to it throughout Typhoon Test Hub. This name must be unique.
  2. Enter a secret value.
Note: In order to save a form, all input fields must be valid. Required fields are signed with *.

Usage of secrets

Secrets can be used within Download artifact from external source and can be passed as a field in the HTTP header, where the name of the HTTP header parameter should be X-API-Key. For example, if secret_1 is the name of an existing secret, the value of the header should be Baerer $SECRET.secret_1.

Figure 4. Example of secret usage in download of artifact from external source