Access keys for authenticating against Stash Build API?

Hi all,

Stash 2.9 introduced access keys. The goal, as I understand it, was to prevent having to create administrative Stash users for continous integration tasks. While I understand how that works for checking out code, I have not found anything about using an access key (or any key) for authenticating against the Stash Build REST API. My understanding is that we currently still need such an administrative user for this. Am I correct? Basic authentication also seems to be the only authentication method available. Are there plans to add other ones?

Thanks in advance for your answers,


3 answers

Hi Georg,

That's correct. It was originally discussed this as part of access keys, but then descoped because of the extra work required. I do hope we add something for HTTP in the future, but I'm afraid it's not on the short-term roadmap.

The only other option is OAuth at the moment.



Thanks for the quick answer, Charles.

Thanks for the quick reply charles!

Has this changed in the newer updates to Stash?  Can an access key now be used to update the build status on the REST API?  If so, then perhaps we can revisit updating the stash-notifier plugin now.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,933 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you