stashy icon indicating copy to clipboard operation
stashy copied to clipboard

SSH Key authentication vs Username/Password

Open kuttor opened this issue 6 years ago • 1 comments

As a user I would like to connect to the BitBucket server and retrieve all repos by using a stored SSH Key, (I suspect via a key-id), instead of username/password -- however, I can't figure out how to do that.... can you help? For instance:

stash.connect("example.com", "admin", "password")

is shown as an example -- but what if I wanted to use an SSH Key instead?

Thanks for any/all of your help regarding this.

kuttor avatar Aug 15 '19 12:08 kuttor

There is no possibility to use SSH key for REST API. https://developer.atlassian.com/bitbucket/api/2/reference/meta/authentication

MaciejKucia avatar Jan 28 '20 03:01 MaciejKucia