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
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

247 views 0 12
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