Hello Guys!
I need to add a SSH KEY and attach permission only to specific repository and specific branch. Does bit bucket do not support that restriction using ssh key?
I tried accessing branch permission but it does not show any option to select SSH KEYs in the permission, only USERS.
Thanks in advance.
The short answer is that you cannot give branch permissions to a SSH key, it has to be a user. SSH is a network protocol that allows you to authenticate a user. In Bitbucket you associate a key to a user, and when you set the permissions on the project/repository/branch you do it for the user/group.
Cool! Thank you Mikael! So, if I create one user and associate a key I can do it? Does bitbucket cloud allow to do this association? Thank you so much!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you add the public key to your account under Account settings > SSH keys
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But how can I associate some ssh key to user for who access using ssh key have same permission as the user?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Each user has to setup their own ssh key and add the public key to their user profile. You as an admin cannot do it on behalf of a user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.