Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate the XRAY_CLIENT_ID and XRAY_CLIENT_SECRET

Vijitha Geereddy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 22, 2026

I am doing skill "Test plan to Xray test import"  for that I need provide below in env file , how/where I will get these key's ot how generate the these keys.

XRAY_CLIENT_ID=

XRAY_CLIENT_SECRET=

1 answer

1 vote
Alexander Ruetzler
Contributor
April 23, 2026

These are the credentials for the Xray Cloud API – you don’t generate them in the code, you have to create them in Xray and then copy them into your .env file.

You can get them like this (Xray Cloud):

  1. Log in to Jira where Xray is installed.
  2. Go to Xray → API Keys (sometimes under Jira settings → Apps → Xray → API Keys).
  3. Click Create API Key.
  4. Xray will show you a client_id and client_secret once – copy them immediately.
  5. Put them into your env file

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events