You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

In this page, the administrator can manage API keys that can be used in order to interact with Xray using its REST API.

An API key may be created for each Jira user. Each API key contains a "Client Id" and a "Client Secret" which can be used afterwards during the authentication phase.

From thereon, authenticated REST API requests will be done in the name of the user linked to the API key being used



Single operations

Create API Key

An API Key can be created as follows:

  1. Click on the "Create API Key" button
  2. Select the user and click on "Generate"
  3. If no API Key already exists for that user, a new API Key will be created and linked to the user. A "Client Id" and a "Client Secret" will be generated, which can then be used for authenticaiton purposes.

Delete API Key

An existing API Key can be deleted as follows:

  1. Click on the action icon on the right-side of the table entry and choose "Delete"
  2. Confirm by clicking on "Delete" in the confirmation dialog

Regenerate Client Secret

An existing API Key can be deleted as follows:

  1. Click on the action icon on the right-side of the table entry and choose "Regenerate Client Secret"
  2. Confirm by clicking on "Confirm" in the confirmation dialog

Bulk operations

Select API Keys

Bulk selection of API Keys can be achieved either from the top picker or by individually checking the API Keys within the table.

   


Whenever some API Keys are selected, an action button, near the bulk selection icon, will enumerate the available bulk actions.


Delete API Keys

Multiple API Keys may be deleted as follows:

  1. bulk select one or more API Keys, either by using the bulk action icon or by individually checking the API Keys within the table
  2. In the button that shows the amount of selected API Keys, click on "Delete"
  3. Confirm by clicking on "Delete"

Regenerate Client Secret

Multiple API Keys may be deleted as follows:

  1. bulk select one or more API Keys, either by using the bulk action icon or by individually checking the API Keys within the table
  2. In the button that shows the amount of selected API Keys, click on "Regenerate Client Secret"
  3. Confirm by clicking on "Confirm"

  • No labels