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 Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

2,304 views 9 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