Allow for configurable number of maximum http access token for projects/repositories

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Access Keys
    • None
    • 1
    • 2

      Since Bitbucket 7.18+ we introduced HTTP access tokens, which is a broader category than personal access tokens. This allows project/repository admins to generate access tokens for a specific project or repo which would not be tied to a particular user.

      The property can be switched on/off using the boolean feature.project.repo.access.tokens.

      However, at the moment PATs cannot be disabled (BSERV-11512: Ability to disable generation of Personal Access Tokens) other than using the workaround of setting {{ plugin.bitbucket-access-tokens.max.tokens.per.user =0}}

      Setting this property to 0 though also affects project/repo HTTP access tokens and effectively disables it.

      It would be beneficial to introduce another property/counter for HTTP access tokens tied to projects and repositories and thus decouple PATs and HTTP tokens used as service accounts.

      This would aid customers who want to disallow PATs but allow service accounts to authenticate to repositories/projects for external application integrations.

              Assignee:
              Unassigned
              Reporter:
              Themis
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: