Creating a secret in a security group
You must create secrets in the security groups 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:
- Created a project on Test Hub.
- Created a security group. See Creating a security group.
- You must be a member with access to the secrets in the security group. See Granting access to members or member roles.
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 security group. Secrets correspond
to the following:
- Environment variables or tags that you create in a Test Integrations and APIs project specific to an environment.
- Variables that you promote in a server test as a secret that is specific to an environment.
Procedure
-
Log in to Test Hub.
The Projects page of the initial team space is displayed.
-
Click to open the project that contains the test assets.
The Overview page of the project is displayed.
-
Click .
The Security page is displayed.
- Click a security group for which you want to add the secrets under the Security Group.
-
Click Add Secret.
The Add Secret dialog is displayed.
-
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.
-
Click Create.
A message is displayed that confirms the creation of the secret.
Results
You have created secrets in the selected security group for your project.
What to do next
- You can view, edit, or delete the secrets added to a security group any time you want.
- You can use the secrets in the tests that require these secrets during test runs.