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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Someone has already added that key as an access key to a repository.

Hi I am getting this error "Someone has already added that key as an access key to a repository." when I try to add my ssh keys to my account


1 answer

0 votes
Mark C Atlassian Team May 12, 2022

Hi @James Trigg

Welcome to the community.

The error message you're getting when you add your public SSH key under your account level SSH key settings indicates that it is already added as an Access key to a repository.

To know exactly the specific repository where it is added, you can use the below Bitbucket Cloud API 2.0 endpoint using the cURL command.

curl -u your_bb_username:app_password ",values.key"

Reference: API 2.0 List deploy keys
Please kindly note that you'll need your Bitbucket Cloud username and an App password for the API authentication

To get the list of your repositories, you can use this API 2.0 endpoint. -

Hope it helps and let me know how it goes.

Mark C

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events