I am trying to set up Sparkle Share (http://www.sparkleshare.org/) for an artist on my team who needs read-write access to our project, but doesn't want to deal with Git (Sparkle Share behaves like DropBox).
Sparkle Share provides an SSH client id, which I add as an "Access Key" to my Free BitBucket Repo. This works; the repo is properly download to the clients machine. However, any changes they make cannot be uploaded, because that Access Key only has "Read" permission.
On GitHub there is just a little "allow write" check box when you add an SSH key, but I can't find anything on BitBucket.
Is this possible?
Bitbucket cloud has been an exceedingly disappointing experience... Similar to JIRA, it's missing many features, and Atlassian doesn't seem capable of delivering them. How about some pre-commit hooks?
Yea, access keys with optional write access seems like a pretty important feature. Github has this exact behavior with their "deploy keys". Now with github offering free private repos, it's hard to justify sticking with Atlassian.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Honestly, this is unacceptable for a product as big as this not to have such basic functionality, for anyone else that needs a 'workourand':
Instead of adding the public ssh key as an access key on the repo, add it as a public ssh key of a user that has write access to the repo.
Unfortunately this user will be the 'scapegoat' if something goes wrong ;-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You usually create a service account for this sort of things instead of adding that key to a real user's account.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think attaching a key to a specific user with write access to the repo much is much better than a global public key
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I know its 2020, but I needed to do a similar thing recently. Here's how I did it.
When you add an SSH key to your repo, you essentially give an anonymous user called "git" a Read access to your repo as long as they provide that key. Such access seems to be limited to read-only by design.
Instead of adding an SSH key to the repo I created a BitBucket user for my service account (i.e. srv-acct-001) and added SSH key to that user. Now if you give that BB user Write permissions to your repo, they will be able to read and write AS LONG AS they use that user's name instead of "git" and provide their SSH key, for instance:
git clone srv-acct-001@bitbucket.org:<repo>
This way it will consume one user account, of course.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Workspaces also has access keys. Adding key there gives you write access.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried the "make a user for the svc account" approach, but ran into issues validating the invite. SSO prevented me from logging in as the svc account.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@[deleted] Thank you! It works as it should, though I had to deal with an illogical interface.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matt, and welcome to Community!
From what I see in the Bitbucket documentation, you can only do read/write in Bitbucket Server Access Keys, not Bitbucket Cloud.
Someone else may have some sort of workaround for you...
Carolyn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
2024 and can't set an access key as WRITE, embarrasing
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Has anyone figured out how to do this?
I am trying to sync files from repo1 to repo2 using repo1's pipeline.
I copied repo2 ssh key into repo1 Access Keys.
I keep getting error Unauthorized
fatal: Could not read from remote repository." when pipeline's script runs "git push"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As per Marek Skórkowski reply:
Adding the key to the workspace access keys gives it write access.
I wish this could be mentioned as an option for write access in the repository settings page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So should it be in repo and in workplace settings?
Or only workplace?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Only workspace.
Copy the public key from repo of interest `Repository settings > SSH Keys` to `Workspace 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.
Is this Workpace SSH key feature a paid feature, or only on BitBucket Server? I don't see it on my (Free) Cloud account.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
nevermind, it looks like it's actually "Personal Settings", not Workspace settings
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ryan Pei no, personal settings is for your personal account settings. if you want to open the workspace, click on your profile, in the menu above "personal settings" you see a small list of recent workspaces or a "all workspaces" link. select the workspace with the repo in question, then select "settings" and finally "SSH keys"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For what it's worth, it is actually now in personal settings and not all workspaces.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.