Bitbucket app connection docs
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
title: "Available"
|
||||||
|
openapi: "GET /api/v1/app-connections/bitbucket/available"
|
||||||
|
---
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
title: "Create"
|
||||||
|
openapi: "POST /api/v1/app-connections/bitbucket"
|
||||||
|
---
|
||||||
|
|
||||||
|
<Note>
|
||||||
|
Check out the configuration docs for [Bitbucket Connections](/integrations/app-connections/bitbucket) to learn how to obtain the required credentials.
|
||||||
|
</Note>
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
title: "Delete"
|
||||||
|
openapi: "DELETE /api/v1/app-connections/bitbucket/{connectionId}"
|
||||||
|
---
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
title: "Get by ID"
|
||||||
|
openapi: "GET /api/v1/app-connections/bitbucket/{connectionId}"
|
||||||
|
---
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
title: "Get by Name"
|
||||||
|
openapi: "GET /api/v1/app-connections/bitbucket/connection-name/{connectionName}"
|
||||||
|
---
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
title: "List"
|
||||||
|
openapi: "GET /api/v1/app-connections/bitbucket"
|
||||||
|
---
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
title: "Update"
|
||||||
|
openapi: "PATCH /api/v1/app-connections/bitbucket/{connectionId}"
|
||||||
|
---
|
||||||
|
|
||||||
|
<Note>
|
||||||
|
Check out the configuration docs for [Bitbucket Connections](/integrations/app-connections/bitbucket) to learn how to obtain the required credentials.
|
||||||
|
</Note>
|
||||||
@@ -470,6 +470,7 @@
|
|||||||
"integrations/app-connections/azure-client-secrets",
|
"integrations/app-connections/azure-client-secrets",
|
||||||
"integrations/app-connections/azure-devops",
|
"integrations/app-connections/azure-devops",
|
||||||
"integrations/app-connections/azure-key-vault",
|
"integrations/app-connections/azure-key-vault",
|
||||||
|
"integrations/app-connections/bitbucket",
|
||||||
"integrations/app-connections/camunda",
|
"integrations/app-connections/camunda",
|
||||||
"integrations/app-connections/cloudflare",
|
"integrations/app-connections/cloudflare",
|
||||||
"integrations/app-connections/databricks",
|
"integrations/app-connections/databricks",
|
||||||
@@ -1276,6 +1277,18 @@
|
|||||||
"api-reference/endpoints/app-connections/azure-key-vault/delete"
|
"api-reference/endpoints/app-connections/azure-key-vault/delete"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"group": "Bitbucket",
|
||||||
|
"pages": [
|
||||||
|
"api-reference/endpoints/app-connections/bitbucket/list",
|
||||||
|
"api-reference/endpoints/app-connections/bitbucket/available",
|
||||||
|
"api-reference/endpoints/app-connections/bitbucket/get-by-id",
|
||||||
|
"api-reference/endpoints/app-connections/bitbucket/get-by-name",
|
||||||
|
"api-reference/endpoints/app-connections/bitbucket/create",
|
||||||
|
"api-reference/endpoints/app-connections/bitbucket/update",
|
||||||
|
"api-reference/endpoints/app-connections/bitbucket/delete"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"group": "Camunda",
|
"group": "Camunda",
|
||||||
"pages": [
|
"pages": [
|
||||||
|
|||||||
|
After Width: | Height: | Size: 225 KiB |
|
After Width: | Height: | Size: 218 KiB |
|
After Width: | Height: | Size: 218 KiB |
|
After Width: | Height: | Size: 330 KiB |
|
After Width: | Height: | Size: 260 KiB |
|
After Width: | Height: | Size: 123 KiB |
|
After Width: | Height: | Size: 649 KiB |
@@ -0,0 +1,124 @@
|
|||||||
|
---
|
||||||
|
title: "Bitbucket Connection"
|
||||||
|
description: "Learn how to configure a Bitbucket Connection for Infisical."
|
||||||
|
---
|
||||||
|
|
||||||
|
Infisical supports the use of [API Tokens](https://support.atlassian.com/bitbucket-cloud/docs/api-tokens/) to connect with Bitbucket.
|
||||||
|
|
||||||
|
## Create Bitbucket Access Token
|
||||||
|
|
||||||
|
<Steps>
|
||||||
|
<Step title="Create API Token">
|
||||||
|
Go to [Account API Tokens](https://id.atlassian.com/manage-profile/security/api-tokens) and click 'Create API token with scopes'.
|
||||||
|
|
||||||
|

|
||||||
|
</Step>
|
||||||
|
<Step title="Set Name and Expiry">
|
||||||
|
Set the name and expiration date of the token, then click 'Next'. Keep in mind that you'll need to manually replace the token after it expires.
|
||||||
|
|
||||||
|

|
||||||
|
</Step>
|
||||||
|
<Step title="Select 'Bitbucket'">
|
||||||
|
Select 'Bitbucket' and then click 'Next'.
|
||||||
|
|
||||||
|

|
||||||
|
</Step>
|
||||||
|
<Step title="Configure Permissions">
|
||||||
|
Configure permissions according to your app's use case:
|
||||||
|
|
||||||
|
<Tabs>
|
||||||
|
<Tab title="Secret Scanning">
|
||||||
|
```
|
||||||
|
read:workspace:bitbucket
|
||||||
|
read:user:bitbucket
|
||||||
|
read:webhook:bitbucket
|
||||||
|
write:webhook:bitbucket
|
||||||
|
delete:webhook:bitbucket
|
||||||
|
read:repository:bitbucket
|
||||||
|
```
|
||||||
|
</Tab>
|
||||||
|
</Tabs>
|
||||||
|
|
||||||
|
Click 'Next'.
|
||||||
|
|
||||||
|

|
||||||
|
</Step>
|
||||||
|
<Step title="Copy Token">
|
||||||
|
Save the API Token for later steps.
|
||||||
|
|
||||||
|

|
||||||
|
</Step>
|
||||||
|
</Steps>
|
||||||
|
|
||||||
|
## Create Bitbucket Connection in Infisical
|
||||||
|
|
||||||
|
<Tabs>
|
||||||
|
<Tab title="Infisical UI">
|
||||||
|
<Steps>
|
||||||
|
<Step title="Navigate to App Connections">
|
||||||
|
In your Infisical dashboard, go to **Organization Settings** and select the [**App Connections**](https://app.infisical.com/organization/app-connections) tab.
|
||||||
|
|
||||||
|

|
||||||
|
</Step>
|
||||||
|
<Step title="Select Bitbucket Connection">
|
||||||
|
Click the 'Add new connection' button and select 'Bitbucket' from the list of available connections.
|
||||||
|
</Step>
|
||||||
|
<Step title="Fill out the Bitbucket Connection Modal">
|
||||||
|
Complete the Bitbucket Connection form by entering:
|
||||||
|
- A descriptive name for the connection
|
||||||
|
- An optional description for future reference
|
||||||
|
- Your Bitbucket email
|
||||||
|
- The API Token from earlier steps
|
||||||
|
|
||||||
|

|
||||||
|
</Step>
|
||||||
|
<Step title="Connection Created">
|
||||||
|
After clicking Create, your **Bitbucket Connection** is established and ready to use with your Infisical projects.
|
||||||
|
|
||||||
|

|
||||||
|
</Step>
|
||||||
|
</Steps>
|
||||||
|
</Tab>
|
||||||
|
<Tab title="API">
|
||||||
|
To create a Bitbucket Connection, make an API request to the [Create Bitbucket Connection](/api-reference/endpoints/app-connections/bitbucket/create) API endpoint.
|
||||||
|
|
||||||
|
### Sample request
|
||||||
|
|
||||||
|
```bash Request
|
||||||
|
curl --request POST \
|
||||||
|
--url https://app.infisical.com/api/v1/app-connections/bitbucket \
|
||||||
|
--header 'Content-Type: application/json' \
|
||||||
|
--data '{
|
||||||
|
"name": "my-bitbucket-connection",
|
||||||
|
"method": "api-token",
|
||||||
|
"credentials": {
|
||||||
|
"email": "[email protected]",
|
||||||
|
"apiToken": "[PRIVATE TOKEN]"
|
||||||
|
}
|
||||||
|
}'
|
||||||
|
```
|
||||||
|
|
||||||
|
### Sample response
|
||||||
|
|
||||||
|
```bash Response
|
||||||
|
{
|
||||||
|
"appConnection": {
|
||||||
|
"id": "e5d18aca-86f7-4026-a95e-efb8aeb0d8e6",
|
||||||
|
"name": "my-bitbucket-connection",
|
||||||
|
"description": null,
|
||||||
|
"version": 1,
|
||||||
|
"orgId": "6f03caa1-a5de-43ce-b127-95a145d3464c",
|
||||||
|
"createdAt": "2025-04-23T19:46:34.831Z",
|
||||||
|
"updatedAt": "2025-04-23T19:46:34.831Z",
|
||||||
|
"isPlatformManagedCredentials": false,
|
||||||
|
"credentialsHash": "7c2d371dec195f82a6a0d5b41c970a229cfcaf88e894a5b6395e2dbd0280661f",
|
||||||
|
"app": "bitbucket",
|
||||||
|
"method": "api-token",
|
||||||
|
"credentials": {
|
||||||
|
"email": "[email protected]"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
</Tab>
|
||||||
|
</Tabs>
|
||||||