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

# coreweave_iam_service_account (Resource)

> **Private beta:** This resource is available only to organizations enrolled in the private beta and may change before general availability. It is gated by an organization-level feature flag. Contact your CoreWeave representative or CoreWeave Support to request access for your organization.

Creates and manages a CoreWeave service account.

## Example usage

```terraform theme={"system"}
resource "coreweave_iam_service_account" "automation" {
  id              = "deployment-automation"
  organization_id = "a1b2c3"
  display_name    = "Deployment automation"
}
```

## Schema

### Required

* `id` (String) The caller-chosen service account ID used as the final segment of the resource name.
* `organization_id` (String) The six-character ID of the CoreWeave organization that owns the service account.

### Optional

* `display_name` (String) An optional human-readable display name.

### Read-Only

* `active` (Boolean) Whether the service account may authenticate.
* `created_at` (String) The RFC 3339 creation timestamp.
* `creator` (String) The canonical resource name of the user that created the service account.
* `name` (String) The canonical resource name.
* `system_managed` (Boolean) Whether CoreWeave or an organization administrator manages this service account.
* `uid` (String) The server-generated unique identifier.
* `updated_at` (String) The RFC 3339 last-update timestamp.

## Import

Import is supported using the following syntax:

```bash theme={"system"}
terraform import coreweave_iam_service_account.automation organizations/a1b2c3/serviceAccounts/deployment-automation
```

```terraform theme={"system"}
import {
  to = coreweave_iam_service_account.automation
  id = "organizations/a1b2c3/serviceAccounts/deployment-automation"
}
```
