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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 06, 2018 in Bitbucket

Do you use Bitbucket Cloud and Jira Cloud? If so, let us know!

Hi Community, I'm Julia and I'm on the Jira Software Cloud marketing team!  We're looking for companies or teams using Bitbucket Cloud and Jira Software Cloud. If your team fits the t...

151 views 6 3
Join discussion

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