Restrict API Token to read-only access?

Per Mildner 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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
Site Admin
TAGS
AUG Leaders

Atlassian Community Events