Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
| Parameter | Description | Example | Required |
| ------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | -------- |
| `OCEAN__INTEGRATION__CONFIG__BITBUCKET_WORKSPACE_TOKEN` | The workspace token used to query authenticate with your Bitbucket Cloud account | ||
| `OCEAN__INTEGRATION__CONFIG__BITBUCKET_WORKSPACE_TOKEN` | The workspace token(s) for the Bitbucket Cloud account (can be a single token or comma-separated string of multiple tokens) | ||
| `OCEAN__INTEGRATION__CONFIG__BITBUCKET_WORKSPACE` | The workspace you want to retrieve git objects from | ||
| `OCEAN__INTEGRATION__CONFIG__BITBUCKET_USERNAME` | The username used to authenticate with your Bitbucket Cloud account | ||
| `OCEAN__INTEGRATION__CONFIG__BITBUCKET_APP_PASSWORD` | The app password used to authenticate with your Bitbucket Cloud account | ||
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ This page details how to install Port's Bitbucket Cloud integration (powered by

:::tip Use of dedicated accounts and tokens

We recommend using workspace tokens from accounts dedicated to the integration, as this will provide a more secure and scalable solution.
We recommend using multiple workspace tokens for the integration, as this will provide a more secure and scalable solution. Using multiple workspace tokens helps distribute the load and avoid rate limiting issues. You can provide multiple workspace tokens as a comma-separated string in the configuration.

Different credentials from the same Bitbucket account share the same rate limits, which can cause issues when using the integration in a large organization. Using dedicated workspace tokens helps manage rate limits more effectively.
If you are using the username and app password, we recommend using a dedicated account for the integration, as different credentials from the same Bitbucket account share the same rate limits, which can cause issues when using the integration in a large organization.
:::

The integration requires either a workspace token or an app password with username to authenticate with your Bitbucket Cloud account. You can create a workspace token by following the steps [here](https://support.atlassian.com/bitbucket-cloud/docs/workspace-access-tokens/) or an app password by following [these steps](https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/).

The token or app password should have `read` permission scope for each of the supported resources you want to ingest into Port and a `read` and `write` permission scope for the webhooks.

We recommend using workspace tokens when possible, as they provide better security and are easier to manage than app passwords.
We recommend using multiple workspace tokens when possible, as they provide better security, are easier to manage than app passwords, and help avoid rate limiting issues by distributing requests across different tokens.

## Deploy the integration

Expand Down Expand Up @@ -180,7 +180,7 @@ This table summarizes the available parameters for the installation.
| `integration.config.bitbucketUsername` | The username of the Bitbucket Cloud account | ✅ |
| `integration.config.bitbucketWorkspace` | The workspace of the Bitbucket Cloud account | ✅ |
| `integration.config.bitbucketAppPassword` | The app password of the Bitbucket Cloud account | ✅ |
| `integration.config.bitbucketWorkspaceToken`| The workspace token of the Bitbucket Cloud account | ✅ |
| `integration.config.bitbucketWorkspaceToken`| The workspace token(s) for the Bitbucket Cloud account (can be a single token or comma-separated string of multiple tokens) | ✅ |
| `integration.config.webhookSecret` | The secret used to verify the webhook requests | ❌ |
| `scheduledResyncInterval` | The number of minutes between each resync | ❌ |
| `initializePortResources` | Default true, When set to true the integration will create default blueprints and the port App config Mapping | ❌ |
Expand Down
Loading