Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,601
Community Members
 
Community Events
165
Community Groups

Restrict API Token to read-only access?

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

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

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you