Details
-
Suggestion
-
Resolution: Fixed
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