# AppConnectionAzureKeyVault

> Resource AppConnectionAzureKeyVault in pulumi-infisical.

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

Resource AppConnectionAzureKeyVault in pulumi-infisical.

Pulumi type: `infisical:index/appConnectionAzureKeyVault:AppConnectionAzureKeyVault`.

`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.AppConnectionAzureKeyVault(
  "appConnectionAzureKeyVault",
  {
    credentials: {
      clientId: "<clientId>",
      clientSecret: "<clientSecret>",
      tenantId: "<tenantId>",
    },
    method: "<method>",
  },
)
```

## Arguments

| Property      | Type                                            | Required | Description                                                                                                                   |
| ------------- | ----------------------------------------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `credentials` | `AppConnectionAzureKeyVaultCredentials (input)` | yes      | The credentials for the Azure Key Vault App Connection                                                                        |
| `description` | `string`                                        | no       | An optional description for the Azure Key Vault App Connection.                                                               |
| `method`      | `string`                                        | yes      | The method used to authenticate with Azure Key Vault. Possible values are: client-secret                                      |
| `name`        | `string`                                        | no       | The name of the Azure Key Vault 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`     | `AppConnectionAzureKeyVaultCredentials (output)` | no       | The credentials for the Azure Key Vault App Connection                                                                        |
| `credentialsHash` | `string`                                         | yes      | The hash of the Azure Key Vault App Connection credentials                                                                    |
| `description`     | `string`                                         | no       | An optional description for the Azure Key Vault App Connection.                                                               |
| `method`          | `string`                                         | no       | The method used to authenticate with Azure Key Vault. Possible values are: client-secret                                      |
| `name`            | `string`                                         | no       | The name of the Azure Key Vault 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. |

## `AppConnectionAzureKeyVaultCredentials (input)`

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

| Property       | Type     | Required | Description                                                                                                                                                                                  |
| -------------- | -------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `clientId`     | `string` | yes      | The Azure application (client) ID. Required for key-vault method. For more details, refer to the documentation here infisical.com/docs/integrations/app-connections/azure-key-vault          |
| `clientSecret` | `string` | yes      | The Azure client secret. Required for key-vault method. For more details, refer to the documentation here infisical.com/docs/integrations/app-connections/azure-key-vault                    |
| `tenantId`     | `string` | yes      | The Azure Active Directory (AAD) tenant ID. Required for key-vault method. For more details, refer to the documentation here infisical.com/docs/integrations/app-connections/azure-key-vault |

## `AppConnectionAzureKeyVaultCredentials (output)`

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

| Property       | Type     | Always present | Description                                                                                                                                                                                  |
| -------------- | -------- | -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `clientId`     | `string` | yes            | The Azure application (client) ID. Required for key-vault method. For more details, refer to the documentation here infisical.com/docs/integrations/app-connections/azure-key-vault          |
| `clientSecret` | `string` | yes            | The Azure client secret. Required for key-vault method. For more details, refer to the documentation here infisical.com/docs/integrations/app-connections/azure-key-vault                    |
| `tenantId`     | `string` | yes            | The Azure Active Directory (AAD) tenant ID. Required for key-vault method. For more details, refer to the documentation here infisical.com/docs/integrations/app-connections/azure-key-vault |
