> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sazabi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# sazabi_integration

> Terraform resource for an API-key integration connection.

Manages an integration connection for an API-key provider (for example PagerDuty, Rootly, incident.io, Bitbucket). OAuth and app-installation integrations cannot be created by Terraform. Credentials are write-only, stored in sensitive state, and can be rotated by updating them.

## Arguments

| Attribute | Type | Behavior | Description |
| - | - | - | - |
| `provider_id` | string | Required | The API-key provider to connect. Immutable. |
| `credentials` | map(string) | Required, Sensitive | Provider credentials, validated against the vendor. Never returned. |
| `organization_id` | string | Optional | Owning organization. Defaults to the provider's organization. Immutable. |
| `display_name` | string | Optional | Connection display name (1-255 characters). Immutable. |
| `status` | string | Computed | `connected`, `error`, `pending`, or `revoked`. |
| `is_active` | bool | Computed | Whether the connection counts as connected. |
| `needs_attention` | bool | Computed | Whether the connection needs attention. |
| `health_status` | string | Computed | `healthy`, `unhealthy`, or `unknown`. |
| `health_message` | string | Computed | Health detail. |
| `connected_by` | string | Computed | Who connected it. |
| `created_at` | string | Computed | Creation timestamp (RFC 3339). |
| `updated_at` | string | Computed | Last-update timestamp (RFC 3339). |
| `id` | string | Computed | Connection ID. |

## Import

```bash theme={"system"}
terraform import sazabi_integration.example conn_...
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.