Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH Key authentication vs Username/Password #138

Open
kuttor opened this issue Aug 15, 2019 · 1 comment
Open

SSH Key authentication vs Username/Password #138

kuttor opened this issue Aug 15, 2019 · 1 comment

Comments

@kuttor
Copy link

kuttor commented Aug 15, 2019

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.

@MaciejKucia
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants