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

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events