# AppConnectionBitbucket

> Resource AppConnectionBitbucket in pulumi-infisical.

<!-- Generated from the pulumi-infisical SDK. -->

Resource AppConnectionBitbucket in pulumi-infisical.

Pulumi type: `infisical:index/appConnectionBitbucket:AppConnectionBitbucket`.

`name` is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as infisical from "pulumi-infisical"

const resource = new infisical.AppConnectionBitbucket(
  "appConnectionBitbucket",
  {
    credentials: {
      apiToken: "<apiToken>",
      email: "<email>",
    },
    method: "<method>",
  },
)
```

## Arguments

| Property      | Type                                        | Required | Description                                                                                                                   |
| ------------- | ------------------------------------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `credentials` | `AppConnectionBitbucketCredentials (input)` | yes      | The credentials for the Bitbucket App Connection                                                                              |
| `description` | `string`                                    | no       | An optional description for the Bitbucket App Connection.                                                                     |
| `method`      | `string`                                    | yes      | The method used to authenticate with Bitbucket. Possible values are: api-token                                                |
| `name`        | `string`                                    | no       | The name of the Bitbucket App Connection to create. Must be slug-friendly                                                     |
| `projectId`   | `string`                                    | no       | The ID of the project to scope the app connection to. If not provided, the app connection will be scoped to the organization. |

## Outputs

Computed outputs are produced by the provider. They are not constructor arguments.

| Property          | Type                                         | Computed | Description                                                                                                                   |
| ----------------- | -------------------------------------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `credentials`     | `AppConnectionBitbucketCredentials (output)` | no       | The credentials for the Bitbucket App Connection                                                                              |
| `credentialsHash` | `string`                                     | yes      | The hash of the Bitbucket App Connection credentials                                                                          |
| `description`     | `string`                                     | no       | An optional description for the Bitbucket App Connection.                                                                     |
| `method`          | `string`                                     | no       | The method used to authenticate with Bitbucket. Possible values are: api-token                                                |
| `name`            | `string`                                     | no       | The name of the Bitbucket App Connection to create. Must be slug-friendly                                                     |
| `projectId`       | `string`                                     | no       | The ID of the project to scope the app connection to. If not provided, the app connection will be scoped to the organization. |

## `AppConnectionBitbucketCredentials (input)`

Input object `AppConnectionBitbucketCredentials`. Fields below belong to this object, not to the parent.

| Property   | Type     | Required | Description                                                |
| ---------- | -------- | -------- | ---------------------------------------------------------- |
| `apiToken` | `string` | yes      | The Bitbucket API token for authentication.                |
| `email`    | `string` | yes      | The email address associated with the Bitbucket API token. |

## `AppConnectionBitbucketCredentials (output)`

Output object `AppConnectionBitbucketCredentials`. Fields below belong to this object.

| Property   | Type     | Always present | Description                                                |
| ---------- | -------- | -------------- | ---------------------------------------------------------- |
| `apiToken` | `string` | yes            | The Bitbucket API token for authentication.                |
| `email`    | `string` | yes            | The email address associated with the Bitbucket API token. |
