Uploaded image for project: 'Bitbucket Server'
  1. Bitbucket Server
  2. BSERV-10482

Create admin personal tokens for admin endpoints in Bitbucket Server REST API

    XMLWordPrintable

Details

    • 19
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Problem Definition

      In Bitbucket Server 5.5 personal access tokens have been introduced. They can be used to replace passwords over https, or to authenticate using the Bitbucket Server REST API over Basic Auth. However the tokens cannot be used for administrative access REST endpoints like /rest/access-tokens/latest/users/admin or
      /rest/api/1.0/admin/permissions/groups

      The error message: Tokens may not have the following permission: ADMIN

      Suggested Solution

      Please provide the access tokens with the global ADMIN permissions.

      Why this is important

      Using tokens for the system management automation is more comfortable and secure rather than login-password authentication.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ashaleev Anton Shaleev
              Votes:
              10 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated: