stashy
stashy copied to clipboard
SSH Key authentication vs Username/Password
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.
There is no possibility to use SSH key for REST API. https://developer.atlassian.com/bitbucket/api/2/reference/meta/authentication