Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Disable HTTP access tokens for projects or repositories

Markus Schölzel May 5, 2022

Hi!

With 7.21, HTTP access tokens for projects or repositories are now also included in the current LTS release of Bitbucket Data Center and Server.

Is there a way to disable them?

We can't allow anonymous (non-user-bound) tokens for the access of our code.
The token looks like it is easily shareable and could be abused by users who wouldn't be able to access the repo with their user account.

The token looks like it could be easily shared with (and abused by) users who would otherwise not have access.

Kind regards
Markus

1 answer

1 accepted

0 votes
Answer accepted
Markus Schölzel May 23, 2022

It can be disabled by setting feature.project.repo.access.tokens=false in bitbucket.properties:
https://confluence.atlassian.com/bitbucketserver0721/configuration-properties-1115666478.html 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events