Access key management

Access keys are required to connect to the lab server, either for running tests or installing a local connector. Admin users create and manage access keys in the Access Keys page. Non-admin users can only generate execution keys. For details, see User account actions and access key management.

View access keys

Access keys consist of a Client ID and secret. There are two types of access keys:

  • An execution access key that is used to connect to the lab from a testing tool, as an alternative to using a username and password for authentication of the connection. When SAML SSO integration is enabled, an execution key is mandatory to connect to OpenText Functional Testing Lab from a testing tool.

  • A connector access key that is used to connect a local connector to the lab.

To view the access keys that are in use:

Click the Administration menu button Administration menu in the masthead, and click the Access Keys tab. Admin users can view all access keys for the lab, including those generated by regular users.

The Access Keys grid shows the following columns:

Column Details
Name The name specified when the key was generated.
Description The description specified when the key was generated.
Type The type of access key: Connector or Execution. Connector keys allow users to install a connector for connecting local devices to the lab. Execution keys enable you to run tests in the lab using OpenText testing tools or Appium.
Activated by The user who activated the key.
Activation date The date on which the key was activated.
Expiration date The date on which the access key expires is determined by the user when they generate a new key. The admin can set the maximum number of days that access keys remain valid. For details, see the section on General settings in Administration settings.

You can use the filter to limit what items are displayed. For example, access key type and expiration date.

Back to top

Generate a new access key

Admins can generate both connector and execution type access keys. Non shared space admin users can generate their own execution keys, but they need to request connector access keys from their admins. For more details, see Generate and manage access keys.

To generate a new access key:

  1. Click the Administration menu button Administration menu in the masthead, and select the Access Keys tab.

  2. Click +. In the Generate New Key dialog box, enter a name and (optionally) a description for the access key. Select a type: Connector or Execution.

  3. Select an expiry date and time for the access key. Note that the maximum number of days that access keys remain valid is determined by a setting in the General administration settings.
  4. Click Generate. A popup window indicates that a Client ID and secret were generated successfully. After you close this window, you are no longer be able to retrieve the access key, so you must either copy or save the credentials:

    • For Connector type access keys, click Copy to place the connector credential string onto your clipboard. Click Download to save it to a text file for later reference or to distribute to a non-admin user. This string is required when installing a connector.
    • For Execution type access keys, click the appropriate link to copy the strings to your clipboard for use with OpenText testing tools, Appium, or Selenium. Click Download in the appropriate section to save the credentials to a text file to reference at a later time. For more details on using these keys, see Use access keys with testing tools.

Back to top

Perform actions on access keys

Use the buttons in the action bar above the access key list to perform the following actions:

  • Generate new. Generate a new access key.
  • Delete. Remove the selected access keys. Note that after you delete a connector type access key, the connector can no longer connect to the server. Any existing connections are disconnected immediately.
    Admins can revoke access keys generated by regular users.

Back to top

Use access keys with testing tools

To use the execution key with OpenText testing tools, click Copy Key to place the generated credentials on the clipboard. Click Download to save it to a text file to reference at a later time.

  • For Appium users, set the oauthClientId and oauthClientSecret capabilities. For details, see Appium Capabilities.
  • For Selenium, edit your script to include the following capabilities: oauthClientId, oauthClientSecret, and tenantId. For details, see Selenium capabilities.

Back to top

See also: