# AppConnection1password

> Resource AppConnection1password in pulumi-infisical.

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

Resource AppConnection1password in pulumi-infisical.

Pulumi type: `infisical:index/appConnection1password:AppConnection1password`.

`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.AppConnection1password(
  "appConnection1password",
  {
    credentials: {
      apiToken: "<apiToken>",
      instanceUrl: "<instanceUrl>",
    },
    method: "<method>",
  },
)
```

## Arguments

| Property      | Type                                        | Required | Description                                                                                                                   |
| ------------- | ------------------------------------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `credentials` | `AppConnection1passwordCredentials (input)` | yes      | The credentials for the 1Password App Connection                                                                              |
| `description` | `string`                                    | no       | An optional description for the 1Password App Connection.                                                                     |
| `method`      | `string`                                    | yes      | The method used to authenticate with 1Password. Possible values are: api-token                                                |
| `name`        | `string`                                    | no       | The name of the 1Password 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`     | `AppConnection1passwordCredentials (output)` | no       | The credentials for the 1Password App Connection                                                                              |
| `credentialsHash` | `string`                                     | yes      | The hash of the 1Password App Connection credentials                                                                          |
| `description`     | `string`                                     | no       | An optional description for the 1Password App Connection.                                                                     |
| `method`          | `string`                                     | no       | The method used to authenticate with 1Password. Possible values are: api-token                                                |
| `name`            | `string`                                     | no       | The name of the 1Password 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. |

## `AppConnection1passwordCredentials (input)`

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

| Property      | Type     | Required | Description                                                                                                                                                          |
| ------------- | -------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `apiToken`    | `string` | yes      | The API token to use for authentication. For more details, refer to the documentation here infisical.com/docs/integrations/app-connections/1password                 |
| `instanceUrl` | `string` | yes      | The URL of the 1Password Connect instance to connect to. For more details, refer to the documentation here infisical.com/docs/integrations/app-connections/1password |

## `AppConnection1passwordCredentials (output)`

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

| Property      | Type     | Always present | Description                                                                                                                                                          |
| ------------- | -------- | -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `apiToken`    | `string` | yes            | The API token to use for authentication. For more details, refer to the documentation here infisical.com/docs/integrations/app-connections/1password                 |
| `instanceUrl` | `string` | yes            | The URL of the 1Password Connect instance to connect to. For more details, refer to the documentation here infisical.com/docs/integrations/app-connections/1password |
