Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I want to restrict repositories to be accessed through ssh keys set in workspace only.

vikramiron November 24, 2023

I have a workspace with around 10 repos and have 15 users added who can access the repos. I have set the SSH key in the workspace but the users are able to access the repos through the ssh set in personal accounts.  How can I prevent this so repos are accessible only through workspace ssh. 

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 27, 2023

G'day!

Unfortunately, this is not possible. When a user is granted read/write access at the project-level of a workspace, their personal SSH key is used to identify the user and provide them with the level of access that is already granted at the project level. This is the same concept for HTTPS authentication with a users personal App Password.

If you do not wish the user to have access to specific repositories, you can control their user access via project permissions.

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events