Using Access Keys with custom application

Building an application and I want it to be able to update on demand from Stash repository.

If I'm looking to authenticate the 'git clone' operation, so the program can self-update from a private repository, I would think that access keys would be the natural tool to accomplish this.

However, in practice, using an access key never seems to authenticate. Does anybody have any insight as to deployment of access keys?

1 answer

So I finally figured this out... sorta.

My solution revolved around using a PortableGit installation, changing the bash login script to point to a directory within the PortableGit directory (as opposed to the user's home directory) and then creating the usual .ssh structure within the "All Users" folder I made (and that the login script points to).

Not pretty, but works, and uses the Atlassian access keys feature. If anyone has a more elegant way to do this, feel free to comment!

Suggest an answer

Log in or Join to answer
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...

655 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot