Create User SSH Keys

Hey,

Currently User SSH Keys cannot be created over the API with an oAuth token. When you do so, the API returns:

{
  "type": "error",
  "error": {
    "message": "This API is only accessible with the following authentication types: session, password, apppassword"
  }
}

It appears that this was possible in v1 of the API but was removed in v2. We cannot use Deploy Keys as we also need write access.

Thanks,

James

3 Likes

+1 This would be really useful

Sorry, I forgot to add… this would bring Bitbucket closer to parity with GitHub and GitLab which both allow this.

Not having this feature is also impacting our customers as they’re manually needing to perform a step which we should be able to automate for them.

Hi @jbrooksuk

Thanks for reaching out. I have passed on this feedback to our Bitbucket Cloud team. I will let you know in this thread once I have an update on this from the team.

Thanks :slight_smile: