Connecting version-controlled project to BitBucket

I am trying to convert an existing project into becoming version-controlled.
I have created the repository in BitBucket and I’m trying to connect the project.

  1. Is there a way to connect with an API key?
  2. When I try to connect with login and password I get the error:
    Remote repository returned an error: too many redirects or authentication replays

Good afternoon @cecilia,

Thank you for contacting Octopus Support and sorry to hear you are struggling to get Bitbucket to work with a Config-As-Code project.

All of our CaC projects use a PAT token to authenticate to different repositories with. Our documentation here shows the different permissions required for each kind of repository and you can also click on the repository name which will take you to the official documentation for creating PAT tokens for that repository. The one for BitBucket is located here.

Let me know if that helps at all,

Kind Regards,


This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.