Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-10182

Access tokens for command line use

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Currently I'm writing a set of scripts to streamline deployments at my place of work.

      We use bitbucket for our source control and I'd like to do some calls to the REST API to verify certain things from the script before it runs. I'd rather not embed a username/password combo in this script for obvious reasons, and OAuth is out of the question as it cannot be used in an unattended manner.

      What I'd like is the ability to generate access tokens in a similar manner that GitHub allows[1] - sorry to draw the comparison here, but it's a nice example of almost exactly what I'd like to have. The token need only be valid for the particular account/team account which generates it, without the added complexity which OAuth entails.

      Would you consider adding support for this kind of workflow to Bitbucket?

      [1] https://help.github.com/articles/creating-an-access-token-for-command-line-use

      Attachments

        Activity

          People

            Unassigned Unassigned
            legacy-bitbucket-user Legacy Bitbucket Cloud User (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: