Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Getting a ssh-key of my team via API

9maf4you November 6, 2016

Hello, everybody!

I'm trying to get ssh-keys of each member of my team.

I created new OAuth user in my account, successfully got an OAuth token and got my own ssh-key by handling an API https://api.bitbucket.org/1.0/users/{MYLOGIN}/ssh-keys

But when I try to get a key of another member I got HTTP 403 forbidden.

I also have created an OAuth account in project settings but it hasn't done successfully too.

I have admin permission.

OAuth account has all possible Read permission.

 

Any suggestions? Is it possible to obtain ssh-keys of all our team?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Jonas Alves October 9, 2017

I have exactly the same issue.

Isn't there a solution for this? Do I need to ask all users to create a new key and add it to the teams' account so I can retrieve all the keys via the API?

0 votes
9maf4you January 4, 2017

Hi. Any ideas?

TAGS
AUG Leaders

Atlassian Community Events