Shine a light on shadow apps

ConductorOne Docs

Bitbucket integration

ConductorOne provides identity governance for Bitbucket. Integrate your Bitbucket instance with ConductorOne to run user access reviews (UARs) and enable just-in-time access requests.

Availability

General availability. The Bitbucket integration is available to all ConductorOne users.

Capabilities

  • Sync user identities from Bitbucket to ConductorOne

  • Resources supported:

    • Workspaces
    • Groups
    • Projects
    • Repositories
  • Provisioning supported:

    • Groups

Set up the Bitbucket integration

This task requires either the Integration Administrator or Super Administrator role in ConductorOne.

  1. In ConductorOne, open Admin and click Integrations > Bitbucket.

  2. If this is your first Bitbucket integration, the integration form opens automatically. Otherwise, click Add connector.

  3. Choose whether to add the new Bitbucket connector as a data source to an existing application (and select the app of your choice) or to create a new application.

    Do you SSO into Bitbucket using your identity provider (IdP)? If so, make sure to add the connector to the Bitbucket app that was created automatically when you integrated your IdP with ConductorOne, rather than creating a new app.

  1. Set the integration owner for this connector. You can manage the integration yourself, or choose someone else from the list of ConductorOne users. Setting multiple integration owners is allowed.

    A Bitbucket integration owner must have the following permissions:

    • Integration Administrator or Super Administrator role in ConductorOne
    • Permission to create an OAuth consumer for the Bitbucket Cloud workspace you’re integrating
  1. Click Create and add details.

Next steps

  • If you are the integration owner, proceed to Integrate your Bitbucket instance for instructions on integrating Bitbucket with ConductorOne.

  • If someone else is the integration owner, ConductorOne will notify them by email that their help is needed to complete the integration.

Integrate your Bitbucket instance

A user with the Integration Administrator or Super Administrator role in ConductorOne and the permission to create an app password in Bitbucket must perform this task.

Step 1: Create an app password

  1. In Bitbucket, click Settings (gear icon) in the top right corner of the screen and then click Personal settings > Personal Bitbucket settings.

  2. In the menu on the left side of the page, click App passwords.

  3. Click Create app password.

  4. Give the password a name, such as “ConductorOne”.

  5. In the Permissions section of the page, select the relevant set of permissions:

    To run access reviews on your Bitbucket users:

    • Account: Read
    • Workspace membership: Read
    • Projects: Read, Admin
    • Repositories: Admin

    To provision Bitbucket group membership via ConductorOne and run access reviews:

    • Account: Read, Write
    • Workspace membership: Read
    • Projects: Read, Admin
    • Repositories: Admin
  6. Click Create.

  7. Your new password is shown. Carefully save the password. We’ll use it in Step 2.

Step 2: Add your Bitbucket credentials to ConductorOne

  1. In ConductorOne, open Admin and click Integrations > Bitbucket.

  2. In the list of connectors, locate and click on the name of the connector with the Not connected label.

  3. Find the Settings area of the page and click Edit.

  4. Enter your Bitbucket username into the Username field.

  5. Enter the password you created in Step 1 into the App password field.

  6. Optional. Enter the names of the specific Bitbucket workspaces you want to integrate. If you have only one workspace, or if you want to integrate all your workspaces, you do not need to enter anything here.

  7. Click Save.

  8. The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.

That’s it! Your Bitbucket instance is now integrated with ConductorOne.

Configure the Bitbucket integration using Terraform

As an alternative to the integration process described above, you can use Terraform to configure the integration between Bitbucket and ConductorOne.

See the ConductorOne Bitbucket integration resource page in the ConductorOne Terraform registry for example usage and the full list of required and optional parameters.