The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Restrict API Token to read-only access?

Per Mildner
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!
May 12, 2022

I have created an API Token (at https://id.atlassian.com/manage-profile/security/api-tokens) and  successfully use the API token in a script to read JIRA Cloud issue descriptions.

For security reasons I would like to restrict the script to read-only access, but I see no way to limit the permissions of an API Token.

Is it possible to restrict the permissions associated with an API Token?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
marc -Collabello--Phase Locked-
Community Champion
May 12, 2022

Hi @Per Mildner ,

It is not possible to restrict the scopes of such a token.

One workaround is to create a new user, which has only read-only access.  Then create an API token for this new user, and the API token will have the same rights/restrictions as this new user.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events