Skip to content

Commit 20ed468

Browse files
committed
Update authorize Bitbucket with Choreo documentation
1 parent 7f38f97 commit 20ed468

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

en/developer-docs/docs/develop-components/develop-components-with-git.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,15 @@ Choreo lets you automatically pull the latest versions of Git submodules from th
8888

8989
## Authorize Bitbucket with Choreo
9090

91-
Authorizing using a personal access token (PAT) from Bitbucket grants Choreo the following permissions to perform the respective actions on your behalf within the repository.
92-
93-
|Permission | Read| Write| Description |
94-
|--------------|-----|------|--------------------------------------------------------------------|
95-
|Account | Y | N | Get user information and workspace details |
96-
|Repositories | Y | Y | List branches and create a branch to commit sample code |
97-
|Pull Requests | Y | Y | Create a pull request if you start with a Choreo sample |
98-
|Webhooks | Y | Y | Trigger automatic deployment and configuration generation |
91+
Authorizing using an API token from Bitbucket grants Choreo the following permissions to perform the respective actions on your behalf within the repository.
92+
93+
|Permission | Read| Write| Delete| Description |
94+
|--------------|-----|------|-------|--------------------------------------------------------------------|
95+
|Workspace | Y | N | N | Get workspace details |
96+
|User | Y | N | N | Get user information |
97+
|Repositories | Y | Y | N | List branches and create a branch to commit sample code |
98+
|Pull Requests | Y | Y | N | Create a pull request if you start with a Choreo sample |
99+
|Webhooks | Y | Y | Y | Trigger automatic deployment and configuration generation |
99100

100101
## Authorize self-managed GitLab with Choreo
101102

en/pe-docs/docs/infrastructure/credentials/set-up-git-provider-authentication-for-choreo-deployments.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ In Choreo, you can connect a Git repository that contains some source code or a
99

1010
## Connect a Git repository to Choreo
1111

12-
You can connect Bitbucket, Gitlab repositories to choreo organization using a Personal Access Token(PAT). For github, the developers can install [WSO2 Cloud App](https://github.com/marketplace/choreo-apps) during component creation and get necessary permissions via Github itself.
12+
You can connect Bitbucket, Gitlab repositories to choreo organization using credential tokens (API tokens for Bitbucket, Personal access tokens for GitLab). For github, the developers can install [WSO2 Cloud App](https://github.com/marketplace/choreo-apps) during component creation and get necessary permissions via Github itself.
1313

1414
1. Sign in to the [Choreo Console](https://console.choreo.dev/).
1515
2. In the Choreo Console header, go to the **Organization** list and select your organization.
1616
3. In the left navigation menu, click **Infrastructure** and then click **Credentials**.
17-
5. Under **Git Credentials** tab, click **+Import Credentials** to configure the Git repository connection.
18-
6. Enter a **Credential Name**, select the Git provider, and enter the **Personal Access Token** you obtained from the Git provider.
17+
5. Under **Git Credentials** tab, click **+Add Credentials** to configure the Git repository connection.
18+
6. Enter a **Credential Name**, select the Git provider, and enter the **Credential Token** you obtained from the Git provider.
1919
7. Click **Save**.
2020

2121
## Authorize GitHub with Choreo
@@ -33,14 +33,15 @@ Authorizing Choreo as a GitHub application grants Choreo the following permissio
3333

3434
## Authorize Bitbucket with Choreo
3535

36-
Authorizing using a personal access token (PAT) from Bitbucket grants Choreo the following permissions to perform the respective actions on your behalf within the repository.
36+
Authorizing using an API token from Bitbucket grants Choreo the following permissions to perform the respective actions on your behalf within the repository.
3737

38-
|Permission | Read| Write| Description |
39-
|--------------|-----|------|--------------------------------------------------------------------|
40-
|Account | Y | N | Get user information and workspace details |
41-
|Repositories | Y | Y | List branches and create a branch to commit sample code |
42-
|Pull Requests | Y | Y | Create a pull request if you start with a Choreo sample |
43-
|Webhooks | Y | Y | Trigger automatic deployment and configuration generation |
38+
|Permission | Read| Write| Delete| Description |
39+
|--------------|-----|------|-------|--------------------------------------------------------------------|
40+
|Workspace | Y | N | N | Get workspace details |
41+
|User | Y | N | N | Get user information |
42+
|Repositories | Y | Y | N | List branches and create a branch to commit sample code |
43+
|Pull Requests | Y | Y | N | Create a pull request if you start with a Choreo sample |
44+
|Webhooks | Y | Y | Y | Trigger automatic deployment and configuration generation |
4445

4546
## Authorize self-managed GitLab with Choreo
4647

0 commit comments

Comments
 (0)